同花顺公式源码 同花顺精准底部公式源码
2015-3-27 11:49:47 股票入门 http://rumen.southmoney.com
VAR2:=(CLOSE-LLV(LOW,20))/(HHV(HIGH,20)-LLV(LOW,20))*100;
VAR3:=SMA(SMA(VAR2,3,1),3,1)/28.57;
VAR4:=EMA(VAR3,5);
VAR5:=3*VAR3-2*VAR4;
AA:=CROSS(VAR5,VAR3) AND VAR3《1.1 AND C》O;
VAR6:=(2*CLOSE+HIGH+LOW)/4;
VAR7:=LLV(LOW,13);
VAR8:=HHV(HIGH,13);
VAR9:=EMA((VAR6-VAR7)/(VAR8-VAR7)*100,13);
VARA:=EMA(0.667*REF(VAR9,1)+0.333*VAR9,2);
多:VAR9,colorred,POINTDOT;
空:EMA(0.382*REF(VAR9,2)+0.618*VAR9,12);
STICKLINE(VAR9》VARA,VAR9,VARA,6,0),colorred;
STICKLINE(VAR9《=VARA,VAR9,VARA,6,0),COLORFFCC66;
STICKLINE(AA,0,30,10,0),colorred;
DRAWTEXT(AA,35,‘底’);
STICKLINE(CROSS(VAR3,VAR5) AND VAR3》2.6,90,60,10,0),colorblue;
DRAWTEXT(CROSS(VAR3,VAR5) AND VAR3》2.6,98,‘顶’),colorblue;
股票入门声明:资讯来源于互联网,属作者个人观点,仅供投资者参考,并不构成投资建议。投资者据此操作,风险自担。