飞狐股票公式 飞狐版的---多空线
2014-10-15 9:55:52 股票入门 http://rumen.southmoney.com
DRAWGBK(1,colorrgb(0,200,255),colorrgb(10,110,150),1);
DIFF := EMA(CLOSE,12) - EMA(CLOSE,26);
DEA :=EMA(DIFF,9);
MACD :=1000* (2*(DIFF-DEA))/EMA(C,30);
VARA:=EMA(REF(CLOSE,1),4);
色彩峰:=(SMA(MAX(CLOSE-VARA,0),6,1)/SMA(ABS(CLOSE-VARA),6,1)*100);
STICKLINE(色彩峰》0,0,色彩峰,10,0),COLOR9caa8c;
STICKLINE(色彩峰》0,0,色彩峰*0.9,10,0),COLOR8c9a73;
STICKLINE(色彩峰》0,0,色彩峰*0.8,10,0),COLOR738A63;
STICKLINE(色彩峰》0,0,色彩峰*0.7,10,0),COLOR637552;
STICKLINE(色彩峰》0,0,色彩峰*0.6,10,0),COLOR526542;
STICKLINE(色彩峰》0,0,色彩峰*0.5,10,0),COLOR425531;
STICKLINE(色彩峰》0,0,色彩峰*0.4,10,0),COLOR314521;
STICKLINE(色彩峰》0,0,色彩峰*0.3,10,0),COLOR213010;
STICKLINE(色彩峰》0,0,色彩峰*0.2,10,0),COLOR102000;
STICKLINE(色彩峰》0,0,色彩峰*0.1,10,0),COLOR8CCFA5;
STICKLINE(色彩峰》0,0,色彩峰*0.05,10,0),COLOR7BC79C;
STICKLINE(色彩峰》0,0,色彩峰*0.02,10,0),COLOR5AB684;
STICKLINE(MACD》=0,0,MACD,4,0), COLORRED;
STICKLINE(MACD《0,0,MACD,4,0), COLORGREEN;
VAR1:=(HHV(HIGH,36)-CLOSE)/(HHV(HIGH,36)-LLV(LOW,36))*100;
空: SMA(VAR1,2,1);
VAR2:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
多: SMA(VAR2,5,1)-8;
LH: M;
LH1: M1;
顶:90,colorccff66;
V1:=EMA(CLOSE,60)-EMA(CLOSE,300);
V2:=EMA(V1,300);
V3:=(CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8))*100;
V4:=SMA(V3,2,1);
V5:=SMA(V4,2,1);
V6:=CLOSE/REF(CLOSE,3)》=1.1;
V7:=BACKSET(V6,3);
V10:=PEAKBARS(3,15,1)《10;
V12:=IF(V10=1,50,0);
头部:= IF(V12=50,100,0);
卖:=IF(头部》REF(头部,1),30,0);
V9:=TROUGHBARS(3,15,1)《10;
V11:=IF(V9=1,50,0);
大底:= IF(V11=50,50,0);
买:=IF( 大底》REF(大底,1),30,0);
买进:=if(ref(买=30,1) and 买=0,1,0);
drawtext(买进 ,11, ‘●’),ALIGN0,COLORgreen;
drawtext(买进 ,6, ‘●’),ALIGN0,COLORwhite;
drawtext(买进 ,0, ‘●’),ALIGN0,COLORblue;
卖出:=IF(ref(卖=30,1) and 卖=0,1,0);
drawtext(卖出 ,82, ‘●’),ALIGN0,COLORyellow;
drawtext(卖出 ,82,‘ ⊙ o ⊙ !’),colorwhite;
更多飞狐股票公式,请关注南方财富网。
股票入门声明:资讯来源于互联网,属作者个人观点,仅供投资者参考,并不构成投资建议。投资者据此操作,风险自担。