大智慧波段高手主图指标
源码
aaa:=(ma(close,13)+ma(close,17))/2;
ccc:=(std(close,13)+std(close,17))/2;
bbb:=aaa+2.1*ccc;
ddd:=aaa+0.72*ccc;
zzz:=if(ccc>1.88,ma(ddd,3),ddd);
平衡:zzz;
止赢:zzz*1.1;
了结:zzz*1.05;
回档:zzz*0.95;
反弹:zzz*0.9;
stickline(平衡<ref(平衡,1) and ref(平衡,1)<ref(平衡,2),平衡*1.005,平衡*0.995,9,0),colorblue;
ccc1:="辅助001.c1#week";
ooo1:="辅助001.o1#week";
hhh1:="辅助001.h1#week";
lll1:="辅助001.l1#week";
vvar1:=if(WEEKDAY=3,hhh1,ccc1);
vvar2:=if(WEEKDAY=3,lll1,ooo1);
Xxx1:STICKLINE(ccc1>=ooo1,ooo1*0.8,ccc1*0.8,10,0),COLORMAGENTA;
周K线阳:STICKLINE(ccc1>=ooo1,vvar1*0.8,vvar2*0.8,5,0),COLORMAGENTA;
Xxx2:STICKLINE(ooo1>ccc1,ccc1*0.8,ooo1*0.8,10,0),COLORdd8833;
周K线阴:STICKLINE(ooo1>ccc1,vvar1*0.8,vvar2*0.8,5,0),COLORdd8833;