多弈浮筹指标公式代码[同花顺公式]
相关标签: 浮香的释义 、 碧筹的释义 、 諠浮的释义 、 更筹的释义 、 罚筹的释义 、 算筹的释义 、 浮逸的释义 、 浮媚的释义 、 浮踪的释义 、
多衣服抽 精确大盘 重要买卖点 短期先威廉指标
原理解析:
源码:
龙值:100-100*(HHV(HIGH,5*8)-CLOSE)/(HHV(HIGH,5*8)-LLV(LOW,5*8)),LineDot,LineThick1;VARC:=(2*C+H+L)/4;VARE:=LLV(L,26);VAR11:=HHV(H,34);VAR12:=EMA((VARC-VARE)/(VAR11-VARE)*100,16);浮筹:EMA(VAR12,4),colorwhite,LineThick2;多弈Var1:=(HHV(HIGH,21)-C)/(HHV(HIGH,21)-LLV(LOW,21))*100-10;多弈Var2:=(C-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100;多弈Var3:=SMA(多弈Var2,13,8);多弈:SMA(多弈Var3,13,8),coloryellow,LineThick2;B:=-100*(HHV(HIGH,14)-CLOSE)/(HHV(HIGH,14)-LLV(LOW,14));短期线:B+100;变速率:0.5*(多弈-浮筹),COLORSTICK;RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;K:=SMA(RSV,3,1);D1:=SMA(K,3,1);J:3*K-2*D1,colorwhite;VAR13:=EMA(VAR12,4);压力线:IF(35+EMA(VAR13,80)<100,35+EMA(VAR13,80),100),COLORD98719,LineThick2;多:SUM(IF(变速率>0,变速率*1.003,变速率*1.003>0),34)/34,colormagenta;空:SUM(IF(变速率<=0,变速率*0.97,变速率*0.97<0),34)/34,colorgreen;STICKLINE(CROSS(多弈,浮筹),95,100,9,0 ),colorcyan;STICKLINE(CROSS(浮筹,多弈),95,100,9,0 ),coloryellow;STICKLINE(CROSS(多弈,压力线),95,100,9,0 ),colorred;短60买:短期线<=REF(短期线,1)-60;DRAWICON(短60买,90,1);DRAWTEXT(短60买,85,'六买'),coloryellow;短60买长:短60买 AND 多弈>=浮筹;DRAWICON(短60买长,96,3);DRAWTEXT(短60买长,101,'六长'),coloryellow;短60卖:短期线>=REF(短期线,1)+60;DRAWICON(短60卖,96,2);DRAWTEXT(短60卖,101,'六卖'),coloryellow;D:=EMA(-100*(HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34)),4);中期线:=D+100;中短60买:中期线>=短期线+60;DRAWICON(中短60买,-5,7);DRAWTEXT(中短60买,-10,'六买'),coloryellow;中短60买长:(中短60买 AND 多弈>=浮筹);DRAWICON(中短60买长,110,7);DRAWTEXT(中短60买长,105,'六长'),coloryellow;中短60卖:短期线>=中期线+60;DRAWICON(中短60卖,110,5);DRAWTEXT(中短60卖,105,'六卖'),coloryellow;短60买2:短期线<=REF(短期线,2)-60 AND 短期线<REF(短期线,1) AND C<REF(C,1) AND REF(C,1)<REF(C,2),NODRAW;短60买2长:短60买2 AND 多弈>=浮筹,NODRAW;DRAWICON(短60买2,85,3);DRAWTEXT(短60买2,90,'六买2'),coloryellow;DRAWICON(短60买2长,90,1);DRAWTEXT(短60买2长,95,'六长2'),coloryellow;X:20,lineDOT;多弈浮筹龙值:CROSS(多弈,浮筹) AND 龙值>70,NoDraw;指标线1:=多弈;指标线2:=浮筹;条件:=CROSS(指标线1,指标线2) AND 指标线1<25;周期数:=BARSLAST(REF(条件,1))+1;上次交点:=(REF(指标线1,周期数) + REF(指标线1,周期数+1))/2;本次交点:=(指标线1 + REF(指标线1,1))/2;低位二次金叉: COUNT(条件,60)>=2 AND 条件 AND 本次交点>上次交点,NoDraw;底背离:REF(CLOSE,周期数)>CLOSE AND 低位二次金叉,NoDraw;DRAWTEXT(低位二次金叉,-10,'二次金叉'),colorwhite;DRAWTEXT(底背离,-15,'底背离'),coloryellow;指标线顶1:=多弈;指标线顶2:=浮筹;条件顶:=CROSS(指标线顶2,指标线顶1) AND 指标线顶1>50;周期数顶:=BARSLAST(REF(条件顶,1))+1;上次交点顶:=(REF(指标线顶1,周期数顶) + REF(指标线顶1,周期数顶+1))/2;本次交点顶:=(指标线顶1 + REF(指标线顶1,1))/2;高位二次金叉: COUNT(条件顶,60)>=2 AND 条件顶 AND 本次交点顶<上次交点顶,NODRAW;顶背离:REF(C,周期数顶)<C AND 高位二次金叉,NODRAW;DRAWTEXT(顶背离,指标线顶1*1.15,'顶背离'),coloryellow;顶背:DRAWLINE(周期数顶=1,指标线顶2,顶背离,指标线顶2,0),colorgreen,LINETHICK2;MACD2:=变速率;DIF:=多弈;DEA:=浮筹;STICKLINE(MACD2>=0 AND MACD2>REF(MACD2,1),0,MACD2,6,1),colorblue;STICKLINE(MACD2>=0 AND MACD2<REF(MACD2,1),0,MACD2,6,1),colorcyan;STICKLINE(MACD2<0 AND MACD2<REF(MACD2,1),0,MACD2,6,1),colorwhite;STICKLINE(MACD2<0 AND MACD2>REF(MACD2,1),0,MACD2,6,1),colormagenta;建仓:IF(DIF<0,DIF,0),coloryellow,LINETHICK2;加仓:IF(DIF<0,0,DIF),colormagenta,LINETHICK2;白线破仓:IF(DIF<DEA,DIF,DEA),colorwhite,LINETHICK2;趋势强弱:IF(DIF>DEA,DEA,DEA),Color32CD99,LINETHICK2;TJ:=MACD2>0;T:=MACD2<0;DRAWTEXT(BARSLAST(TJ)=1,MACD2,'1'),coloryellow;DRAWTEXT(BARSLAST(TJ)=2,MACD2,'2'),coloryellow;DRAWTEXT(BARSLAST(TJ)=3,MACD2,'3'),coloryellow;DRAWTEXT(BARSLAST(TJ)=5,MACD2,'5'),coloryellow;DRAWTEXT(BARSLAST(TJ)=8,MACD2,'8'),coloryellow;DRAWTEXT(BARSLAST(TJ)=13,MACD2,'13'),coloryellow;DRAWTEXT(BARSLAST(TJ)=21,MACD2,'21'),coloryellow;DRAWTEXT(BARSLAST(TJ)=34,MACD2,'34'),coloryellow;DRAWTEXT(BARSLAST(TJ)=55,MACD2,'55'),coloryellow;DRAWTEXT(BARSLAST(T)=1,MACD2,'1'),colorgreen;DRAWTEXT(BARSLAST(T)=2,MACD2,'2'),colorgreen;DRAWTEXT(BARSLAST(T)=3,MACD2,'3'),colorgreen;DRAWTEXT(BARSLAST(T)=5,MACD2,'5'),colorgreen;DRAWTEXT(BARSLAST(T)=8,MACD2,'8'),colorgreen;DRAWTEXT(BARSLAST(T)=13,MACD2,'13'),colorgreen;DRAWTEXT(BARSLAST(T)=21,MACD2,'21'),colorgreen;DRAWTEXT(BARSLAST(T)=34,MACD2,'34'),colorgreen;DRAWTEXT(BARSLAST(T)=55,MACD2,'55'),colorgreen;
公式导入教程: 【通达信公式源码导入方法教程】 【同花顺公式源码导入方法教程】 【大智慧新一代公式源码导入方法教程】
有思路,想编写各种指标公式,程序化交易模型,选股公式,预警公式的朋友
可联系技术人员 QQ: 1145508240 进行 有偿 编写!(不贵!点击查看价格!)
相关文章
-
没有相关内容