首页 > > 详细

代做TB程序化公式、文华财经策略公式调试、飞狐箱体重组公式源码


飞狐箱体重组公式源码
空:=EMA(C,5);
均衡:EMA(空,5),COLORWHITE;
中轨:HHV(MA(H,13),13),COLORyelLOW,LINETHICK1;
趋势:LLV(MA(H,13),1),COLORred,LINETHICK1;
varA:=(CLOSE-ref(OPEN,29))/ref(OPEN,29)*100;
varB:=EMA(0.667*ref(varA,1)+0.333*varA,5);
DRAWTEXT(IF(VOL>=1.3*MA(VOL,5) AND COUNT(varA>=varB AND varABARSLAST(LD) AND NOT(LD);
波峰:IF(T1,A,A),COLORYELLOW,LINETHICK3,POINTDOT;
波谷:IF(T2,Z,Z),COLORWHITE,LINETHICK3,POINTDOT;
var1:=(HIGH+LOW+OPEN+2*CLOSE)/5;
var2:=ref(var1,1);
var3:=SMA(MAX(var1-var2,0),10,1)/SMA(ABS(var1-var2),10,1)*100;
var4:=FILTER(IF(COUNT(var3=1 AND COUNT(var1=LLV(var1,10),10)>=1 AND CLOSE>=OPEN*1.038 AND VOL>MA(VOL,5)*1.2,1,0),5);
DRAWICON(var4,LOW,1);
var5:=FILTER(均衡>ref(均衡,1)AND 中轨ref(C,1),11);
DRAWTEXT(var5,LOW*0.985,加仓),COLORyelLOW;
DRAWTEXT(var5,LOW*0.995,^ ),COLORyelLOW;
var6:=ref(CLOSE,1);
var7:=SMA(MAX(CLOSE-var6,0),6,1)/SMA(ABS(CLOSE-var6),6,1)*100;
DRAWTEXT(CROSS(84,var7),H*1.035,减仓),COLOR00FF00 ;
DRAWTEXT(CROSS(84,var7),H*1.015,◇ ),COLOR00FF00;
MA20:MA(c,20),colorwhite;
MA120:MA(c,120),colorffcccc;
MA250:MA(c,250),colorffcc66;
乖离线:=((c-ref(MA20,1))/20+MA20)*1.20;
tt1:=cross(MA20,MA120)and cross(MA20,MA250) and v>ref(v,1);
tt2:=MA20>ref(MA20,2) and v>ref(v,1) and cross(c,MA20);
STICKLINE(TT1,l,l-0.09,4,0),coloryelLOW;
DRAWTEXT(TT1,l-0.13,金叉),coloryelLOW;
STICKLINE(cross(c,MA120) and cross(c,MA250) and cross(c,MA20),l,l-0.09,4,0),coloryelLOW;
STICKLINE(tt2,l,l-0.09,4,0),coloryelLOW;
STICKLINE(cross(c,乖离线),h,h+0.09,4,0),color00ff00;
DRAWTEXT(cross(c,乖离线) ,h+0.13,卖),color00ff00;
STICKLINE(MA250>=ref(MA250,1) and MA20>=ref(MA20,1) and cross(c,MA250),l,l-0.09,4,0),colorffcc66;
DRAWTEXT(MA250>=ref(MA250,1) andMA20>=ref(MA20,1) and cross(c,MA250),l-0.13,牛象),colorffcc66;
STICKLINE(MA120>=ref(MA120,1) and cross(c,MA20) and cross(c,MA120) and v>ref(v,1),l,l-0.09,4,0),colorff00ff;
RSV:=(((CLOSE - LLV(LOW,13)) / (HHV(HIGH,13) - LLV(LOW,13))) * 100);
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
J:=((3 * K) - (2 * D));
RSV24:=(((CLOSE - LLV(LOW,55)) / (HHV(HIGH,55) - LLV(LOW,55))) * 100);
K24:=SMA(RSV24,3,1);
D24:=SMA(K24,3,1);

J24:=((3 * K24) - (2 * D24));
U2L:=IF((CLOSE >= MA(CLOSE,20)),80,50);
L2L:=IF((CLOSE >= MA(CLOSE,20)),50,20);
RH1:=IF(((J = U2L)),HHV(ref(HIGH,1),(BARSLAST(((J >= U2L) AND (ref(J,1) = U2L) AND (ref(J,1) RH1),LOW,ref(LOW,BARSLAST((HIGH > RH1))));
RH42:=IF((HIGH > RH1),J,ref(J,BARSLAST((HIGH > RH1))));
RH5:=IF((((HIGH > RH4) AND (J RH4) AND (J MA120) AND (MA20 0)) AND (CLOSE > OPEN)) AND ((MA120 - ref(MA120,1)) > 0)) AND (HIGH = MA120)),15),LOW,★120跳马);
AA:=CROSS(MA(C,5),MA(C,20))AND CROSS(MA(C,5),MA(C,30))AND CROSS(MA(C,5),MA(C,60));
BB:=MA(C,60)>MA(C,10)AND CROSS(MA(C,10),MA(C,30))AND MA(C,30)>MA(C,20)AND ABS(MA(C,60)-MA(C,20))/MA(C,20)MA(C,5)AND CROSS(MA(C,5),MA(C,20))AND MA(C,20)>MA(C,10);
DD:=ABS((MA(C,5)-MA(C,10))+(MA(C,10)-MA(C,20))+(MA(C,20)-MA(C,30)))ref(MA(C,5),1)AND
MA(C,10)>ref(MA(C,10),1);
EE:=MA(C,20)>MA(C,5)AND CROSS(MA(C,5),MA(C,10))AND MA(C,10)>MA(C,60)AND ABS(MA(C,20)-MA(C,60))/MA(C,60)1.2;
DD1:=LEE1:=VFF1:BB1 AND CC1 AND DD1 AND EE1,LINETHICK0;
DRAWTEXT(FF1,l*0.99, 老鼠仓),COLORred;
STICKLINE(FF1,H,L,0.5,0),COLORRED;
STICKLINE(FF1,O,C,6,1),COLORRED;

 

联系我们 - QQ: 88652583
© 2014 www.93stock.com
代写选股公式网!
声明:警惕假冒分子冒充本站提供证券咨询服务,选股公式网为非证券咨询机构,本站不提供有关股评、投资分析报告、股市预测,证券咨询等服务。本站仅提供股票、期货、黄金、外汇的软件技术交流与分享。本站文章为互联网文章,其仅供参考,并不构成投资建议。