发一个瀑布线远离选股
公式源码:(通信达把IFELSE改成IF就可以了)[code]
M1:=4;M2:=6;M3:=9;M4:=13;M5:=18;M6:=24;
PBX1:=(EMA(CLOSE,M1)+MA(CLOSE,M1*2)+MA(CLOSE,M1*4))/3;
PBX2:=(EMA(CLOSE,M2)+MA(CLOSE,M2*2)+MA(CLOSE,M2*4))/3;
PBX3:=(EMA(CLOSE,M3)+MA(CLOSE,M3*2)+MA(CLOSE,M3*4))/3;
PBX4:=(EMA(CLOSE,M4)+MA(CLOSE,M4*2)+MA(CLOSE,M4*4))/3;
PBX5:=(EMA(CLOSE,M5)+MA(CLOSE,M5*2)+MA(CLOSE,M5*4))/3;
PBX6:=(EMA(CLOSE,M6)+MA(CLOSE,M6*2)+MA(CLOSE,M6*4))/3;
AAA:=MAX(MAX(MAX(MAX(MAX(PBX1,PBX2),PBX3),PBX4),PBX5),PBX6);
SY:IFELSE(CLOSE>AAA AND ISDOWN,85,100),RGB(0,240,0);//上远离收阴
BBB:=MIN(MIN(MIN(MIN(MIN(PBX1,PBX2),PBX3),PBX4),PBX5),PBX6);
SY1:IFELSE(CLOSE<BBB AND ISUP,25,0),COLORRED;//下远离收阳
[/code]
页:
[1]