实际上就是多条均线。
{我的瀑布}
NOTEXTPB2:EMA(EMA(EMA(C,2),2),2),COLOR1010FF;
NOTEXTPB3:EMA(EMA(EMA(C,3),3),3),COLOR2020FF;
NOTEXTPB4:EMA(EMA(EMA(C,4),4),4),COLOR3030FF;
PB5:=EMA(EMA(EMA(C,5),5),5);
NOTEXTPB5:PB5,COLOR4040FF;
NOTEXTPB6:EMA(EMA(EMA(C,6),6),6),COLOR5050FF;
NOTEXTPB7:EMA(EMA(EMA(C,7),7),7),COLOR6060FF;
NOTEXTPB8:EMA(EMA(EMA(C,8),8),8),COLOR7070FF;
PB9:=EMA(EMA(EMA(C,9),9),9);
NOTEXTPB9:PB9,COLOR8080FF;
NOTEXTPB10:EMA(EMA(EMA(C,10),10),10),COLOR00FF00;
NOTEXTPB11:EMA(EMA(EMA(C,11),11),11),COLOR00FF00;
NOTEXTPB12:EMA(EMA(EMA(C,12),12),12),COLOR00FF00;
PB13:=EMA(EMA(EMA(C,13),13),13);
NOTEXTPB13:PB13,COLOR00FF00;
NX:=MA(C,100);
牛熊:NX,COLORFFFFFF,LINETHICK2;
ZN1:=(PB5-NX)/NX*100;
ZN2:=MA(C,13)+MA(C,13)-REF(MA(C,13),1);
ZN3:=IF(MA(C,13)<ZN2,ZN2,MA(C,13));
ZN4:=ZN3-(EMA(C,3)-ZN3);
ZN5:=PB5>NX AND PB5>PB9 AND PB9>NX AND ZN1<25 AND PB5>REF(PB5,1);
ZN6:=IF(ZN5 AND ZN4>PB9,PB9,DRAWNULL);
ZN7:=IF(ZN5 AND ZN4>PB5,PB9,DRAWNULL);
DRAWBAND(PB5,RGB(250,0,0),ZN6,0);
DRAWBAND(PB5,RGB(250,250,0),ZN7,0);
DRAWKLINE(H,O,L,C);
p20202212162136497.jpg
|