阿七啥都行
2024-11-28 18:43:39
最佳回答
{同花顺已测试通过,与你要的图像一模一样}n1:=3;m2:=ma(c,20),colorgreen;ma10:=ema(c,10),colorwhite;ma15:=ema(c,15),colorred;var1:=(hhv(high,21)-close)/(hhv(high,21)-llv(low,21))*100;var3:=(close-llv(low,21))/(hhv(high,21)-llv(low,21))*100;v**:=var3-var1;z:=ma(v**,n1);stickline(z>=0 ,o,c,10,1),colorred;stickline(z>=0 ,h,max(o,c),0,1),colorred;stickline(z>=0 ,min(o,c),l,0,1),colorred; stickline(z<0 ,o,c,10,0),colorcyan;stickline(z<0 ,h,max(o,c),0,0),colorcyan;stickline(z<0 ,min(o,c),l,0,0),colorcyan;stickline(z>=0 and m2>c,o,c,10,0),colorcyan;stickline(z>=0 and m2>c,h,max(o,c),0,0),colorcyan;stickline(z>=0 and m2>c,min(o,c),l,0,0),colorcyan; stickline(z<0 and m2<c,o,c,10,1),colorred;stickline(z<0 and m2<c,h,max(o,c),0,0),colorred;stickline(z<0 and m2<c,min(o,c),l,0,0),colorred;金马日线:=ma10,linethick0;金马k线:=c>=ma15 and ma10>ma15 and close>ma15,linethick0 ;partline(金马日线,金马日线>ref(金马日线,1),rgb(250,0,0),金马日线<ref(金马日线,1),rgb(270,270,270)),linethick3;partline(金马k线,金马k线>ref(金马k线,1),rgb(255,0,0),金马k线<ref(金马k线,1),rgb(270,270,270)),linethick0; 20210311