P1:=28;P2:=32;P3:=35;P4:=5;
VAR1:=LLV(LOW,10);
VAR2:=HHV(HIGH,25);
警戒:=(P1)/(10);
减仓:=(P2)/(10);
卖出:=(P3)/(10);
买入:=(P4)/(10);
动力:=EMA(((CLOSE-VAR1)/(VAR2-VAR1))*(4),4);
追涨:IF(CROSS(动力,警戒),警戒-0.2,警戒),circledot,Linethick7,CoLorF00FF0;
警戒,circledot,Linethick7,CoLor000000;
减磅:IF(CROSS(动力,减仓),减仓-0.2,减仓),circledot,Linethick7,CoLorF0F000;
减仓,circledot,Linethick7,CoLor000000;
出局:IF(CROSS(动力,卖出),卖出-0.2,卖出),circledot,Linethick7,CoLor0000FF;
卖出,circledot,Linethick7,CoLor000000;
买入线:买入,POINTDOT,CoLorFFFF10;
警戒线:警戒,POINTDOT,CoLorFFFFFF;
动力线:动力,Linethick1,CoLor10FF10;
买进:IF(CROSS(动力线,0.5),1.8,0),Stick,CoLor00FFFF;
IF(CROSS(动力线,0.5),1.8,0),circledot,CoLor00FFFF;
IF(CROSS(动力线,0.5),1.5,0),circledot,CoLor00FFFF;
IF(CROSS(动力线,0.5),1.3,0),CoLor00FFFF;
IF(CROSS(动力线,0.5),0,0),circledot,CoLor000000;
202108211203.jpg
|