通达信——底部出击通达信趋势炒股公式源码...

通达信——底部出击通达信趋势炒股公式

源码:

底部1:=(CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100; K:SMA(底部1,3,1) ,COLORWHITE ;{底部2} D:SMA(K,3,1) ,COLORYELLOW ;{底部4} J:3*K-2*D ,COLORFF00FF ;{底部3} JJ:J-K,COLORSTICK;{JJ要红色,J-K>0,底部6, J-K<0底部5}
趋势1:=4*SMA((CLOSE-LLV(LOW,25))/(HHV(HIGH,25)-LLV(LOW,25))*100,5,1)-
3*SMA(SMA((CLOSE-LLV(LOW,25))/(HHV(HIGH,25)-LLV(LOW,25))*100,5,1),3,1);
趋势2:=8;
出击1: IF(趋势1<=8,30,0),STICK,COLORWHITE,LINETHICK2;
出击2: IF(CROSS(趋势1,趋势2),80,0),STICK,COLORGREEN,LINETHICK2;

(0)

相关推荐