五彩布林(公式、源码)[大智慧公式]
相关标签:
原理解析:
源码:
Var2:=REF(CLOSE-OPEN, 2);
Var3:=REF(CLOSE, 1);
Var4:=REF(CLOSE, 2);
Var5:=REF(CLOSE, 3);
Var6:=REF(CLOSE, 4);
Var7:=MAX(MAX(MAX(CLOSE, Var3), Var4), Var5);
Var8:=MIN(MIN(MIN(CLOSE, Var3), Var4), Var5);
红持股1:STICKLINE(CLOSE=Var7 AND (Var3>=Var4 OR Var3>=Var5) OR Var3=Var7 AND (Var4=Var8 OR Var5=Var8) AND CLOSE>=Var4 OR Var4=Var7 AND Var5=Var8 AND CLOSE>=Var3 OR Var5=Var7 AND CLOSE>=Var3 AND CLOSE>=Var4,Var3,CLOSE,5,1), COLORRED;
红持股:红持股1,colorred;
品红变盘:STICKLINE(CLOSE=Var7 AND Var3=Var8, Var4, CLOSE, 5, 1), COLORff00ff;{MAGENTA;}
黄下跌:STICKLINE(CLOSE=Var8 AND (Var3<Var4 OR Var3<Var5) OR Var3=Var8 AND (Var4=Var7 OR Var5=Var7) AND CLOSE<Var4 OR Var4=Var8 AND Var5=Var7 AND CLOSE<Var3 OR Var5=Var8 AND CLOSE<Var3 AND CLOSE<Var4,Var3,CLOSE,5,0),COLORYELLOW;{http://cxh99.com}
绿买:STICKLINE(Var3=Var7 AND CLOSE=Var8, Var4, CLOSE, 5, 0), COLOR00ff00;{GREEN;}
STICKLINE(Var3=Var8 AND CLOSE>=Var4 OR (Var4=Var8 AND Var3<=Var5 OR Var5=Var8 AND Var3<=Var4) AND Var4<Var6 AND CLOSE>=Var3, Var3, Var4, 5, 0), COLOR00ff00;{GREEN;}
蓝卖:STICKLINE(Var3=Var7 AND CLOSE<Var4 OR (Var4=Var7 AND Var3>Var5 OR Var5=Var7 AND Var3>Var4) AND Var4>=Var6 AND CLOSE<Var3, Var3, Var4, 5, 1), COLORBLUE;
Var9:=SAR(5, 1, 5);
Var10:=EMA(CLOSE, 30);
Var11:=IF(CLOSE>450, 8, IF(CLOSE>=20 AND CLOSE<150, 0.200, IF(CLOSE<20 AND CLOSE>=10, 0.070, IF(CLOSE<10, 0.030, 0.070))));
变色龙:STICKLINE(CLOSE>Var9, Var10, Var10+Var11,6,0), COLORff00ff;
STICKLINE(CLOSE<Var9, Var10, Var10-Var11, 6, 0),COLORffcc66;
STICKLINE(CROSS(CLOSE, Var9), Var10, Var10-Var11,6,0);
STICKLINE(CROSS(Var9, CLOSE), Var10, Var10+Var11,6,0),COLORFF0066;
Var22:=MA(LLV(CLOSE,9)*1.1,14)*1;
Var33:=MA(HHV(CLOSE,26)*0.9,14)*1;
Var55:=EMA((HIGH+LOW+CLOSE)/3,3);
VarB:=AMOUNT/(100*VOL);
VarC:=MA(VarB,34);
VarD:=MA(CLOSE,26);
通道: (VarD+VarC)/2, pointdot, COLORYELLOW;{http://cxh99.com}
阻力: VarD+2*STD(CLOSE,34),LINETHICK2 ,COLORGREEN;{http://www.cxh99.com}
支持: (VarD-2*STD(CLOSE,26)),LINETHICK2 , COLORGREEN;{http://www.cxh99.com}
VarE:=MA(WINNER(CLOSE),34)*100;
警: DRAWTEXT(VarE>60 AND HIGH>阻力,HIGH,'警'), COLORYELLOW;{http://cxh99.com}
突破:DRAWTEXT(VarE<15 AND CROSS(Var55,通道),LOW,'突破'), colorwhite;
公式导入教程: 【通达信公式源码导入方法教程】 【同花顺公式源码导入方法教程】 【大智慧新一代公式源码导入方法教程】
有思路,想编写各种指标公式,交易模型,选股公式,还原公式的朋友
可联系技术人员 QQ: 262069696 或微信:cxhjy888 进行 有偿收费 编写!(注:由于人数限制,QQ或微信请选择方便的一个联系我们就行,加好友时请简单备注下您的需求,否则无法通过。谢谢您!)
(注:由于人数限制,QQ或微信请选择方便的一个联系我们就行,加好友时请简单备注下您的需求,否则无法通过。谢谢您!)
相关文章
-
没有相关内容