请老师改成博弈指标 [博易POBO]
咨询内容:
LL:L<LV(L,10)&&L<REFX(LLV(L,3),3),NODRAW;
LX:L<LV(L,3)&&L<REFX(LLV(L,3),3),NODRAW;
HX:H>HV(H,3)&&H>REFX(HHV(H,3),3),NODRAW;
DRAWTEXT(HH,H,'H'),FONTSIZE30;
DRAWTEXT(LL,L,'L'),FONTSIZE30;
DRAWTEXT(BARSLAST(LL)<BARSLAST(HH)&&HX,H,'G'),FONTSIZE30;
DRAWTEXT(BARSLAST(LL)>BARSLAST(HH)&&LX,L,'F'),FONTSIZE30;
HH1:BARSLAST(LL)<BARSLAST(HH)&&HX,NODRAW;
LL1:BARSLAST(LL)>BARSLAST(HH)&&LX,NODRAW;
DRAWSL(ISLASTBAR&&BARSLAST(HH)<BARSLAST(LL),VALUEWHEN(HH,H),0,-BARSLAST(HH),0,COLORRED),LINETHICK3;
DRAWSL(ISLASTBAR&&BARSLAST(HH)<BARSLAST(LL),REF(H,SUMBARS(HH,2)-1),0,-SUMBARS(HH,2)+1,0,COLORRED),DOT;
DRAWSL(ISLASTBAR&&BARSLAST(HH)>BARSLAST(LL),VALUEWHEN(LL,L),0,-BARSLAST(LL),0,COLORGREEN),LINETHICK3;
DRAWSL(ISLASTBAR&&BARSLAST(HH)>BARSLAST(LL),REF(L,SUMBARS(LL,2)-1),0,-SUMBARS(LL,2)+1,0,COLORGREEN),DOT;
DRAWSL(ISLASTBAR&&BARSLAST(HH1)<BARSLAST(LL1),VALUEWHEN(HH1,H),0,-BARSLAST(HH1),0,COLORRED),LINETHICK3;
DRAWSL(ISLASTBAR&&BARSLAST(HH1)<BARSLAST(LL1),REF(H,SUMBARS(HH1,2)-1),0,-SUMBARS(HH1,2)+1,0,COLORRED),DOT;
DRAWSL(ISLASTBAR&&BARSLAST(HH1)>BARSLAST(LL1),VALUEWHEN(LL1,L),0,-BARSLAST(LL1),0,COLORGREEN),LINETHICK3;
DRAWSL(ISLASTBAR&&BARSLAST(HH1)>BARSLAST(LL1),REF(L,SUMBARS(LL1,2)-1),0,-SUMBARS(LL1,2)+1,0,COLORGREEN),DOT;
DRAWLINE1( CROSS(BACKSET(ISLASTBAR,SUMBARS(HH,2)),0.5),H,CROSS(BACKSET(ISLASTBAR,SUMBARS(HH,1)),0.5),H,1),COLORRED,LINETHICK5;
DRAWLINE1( CROSS(BACKSET(ISLASTBAR,SUMBARS(LL,2)),0.5),L,CROSS(BACKSET(ISLASTBAR,SUMBARS(LL,1)),0.5),L,1),COLORGREEN,LINETHICK5;
LL:L<=LLV(L,10)&&L<=REFX(LLV(L,3),3),NODRAW;
LX:L<=LLV(L,3)&&L<=REFX(LLV(L,3),3),NODRAW;
HX:H>=HHV(H,3)&&H>=REFX(HHV(H,3),3),NODRAW;
DRAWTEXT(HH,H,'H'),FONTSIZE15;
DRAWTEXT(LL,L,'L'),FONTSIZE15;
DRAWTEXT(BARSLAST(LL)<BARSLAST(HH)&&HX,H,'G'),FONTSIZE15;
DRAWTEXT(BARSLAST(LL)>BARSLAST(HH)&&LX,L,'F'),FONTSIZE15;
HH1:BARSLAST(LL)<BARSLAST(HH)&&HX,NODRAW;
LL1:BARSLAST(LL)>BARSLAST(HH)&&LX,NODRAW;
DRAWSL(ISLASTBAR&&BARSLAST(HH)<BARSLAST(LL),VALUEWHEN(HH,H),0,-BARSLAST(HH),0),COLORRED,LINETHICK3;
DRAWSL(ISLASTBAR&&BARSLAST(HH)<BARSLAST(LL),REF(H,SUMBARS(HH,2)-1),0,-SUMBARS(HH,2)+1,0),COLORRED;
DRAWSL(ISLASTBAR&&BARSLAST(HH)>BARSLAST(LL),VALUEWHEN(LL,L),0,-BARSLAST(LL),0),COLORGREEN,LINETHICK3;
DRAWSL(ISLASTBAR&&BARSLAST(HH)>BARSLAST(LL),REF(L,SUMBARS(LL,2)-1),0,-SUMBARS(LL,2)+1,0),COLORGREEN;
DRAWSL(ISLASTBAR&&BARSLAST(HH1)<BARSLAST(LL1),VALUEWHEN(HH1,H),0,-BARSLAST(HH1),0),COLORRED,LINETHICK3;
DRAWSL(ISLASTBAR&&BARSLAST(HH1)<BARSLAST(LL1),REF(H,SUMBARS(HH1,2)-1),0,-SUMBARS(HH1,2)+1,0),COLORRED;
DRAWSL(ISLASTBAR&&BARSLAST(HH1)>BARSLAST(LL1),VALUEWHEN(LL1,L),0,-BARSLAST(LL1),0),COLORGREEN,LINETHICK3;
DRAWSL(ISLASTBAR&&BARSLAST(HH1)>BARSLAST(LL1),REF(L,SUMBARS(LL1,2)-1),0,-SUMBARS(LL1,2)+1,0),COLORGREEN;
DRAWLINE( CROSS(BACKSET(ISLASTBAR,SUMBARS(HH,2)),0.5),H,CROSS(BACKSET(ISLASTBAR,SUMBARS(HH,1)),0.5),H,0),COLORRED,LINETHICK5;
DRAWLINE( CROSS(BACKSET(ISLASTBAR,SUMBARS(LL,2)),0.5),L,CROSS(BACKSET(ISLASTBAR,SUMBARS(LL,1)),0.5),L,0),COLORGREEN,LINETHICK5; 来源 程序化久久网
请老师改成博弈指标
HH:H>HV(H,10)&&H>REFX(HHV(H,3),3),NODRAW;LL:L<LV(L,10)&&L<REFX(LLV(L,3),3),NODRAW;
LX:L<LV(L,3)&&L<REFX(LLV(L,3),3),NODRAW;
HX:H>HV(H,3)&&H>REFX(HHV(H,3),3),NODRAW;
DRAWTEXT(HH,H,'H'),FONTSIZE30;
DRAWTEXT(LL,L,'L'),FONTSIZE30;
DRAWTEXT(BARSLAST(LL)<BARSLAST(HH)&&HX,H,'G'),FONTSIZE30;
DRAWTEXT(BARSLAST(LL)>BARSLAST(HH)&&LX,L,'F'),FONTSIZE30;
HH1:BARSLAST(LL)<BARSLAST(HH)&&HX,NODRAW;
LL1:BARSLAST(LL)>BARSLAST(HH)&&LX,NODRAW;
DRAWSL(ISLASTBAR&&BARSLAST(HH)<BARSLAST(LL),VALUEWHEN(HH,H),0,-BARSLAST(HH),0,COLORRED),LINETHICK3;
DRAWSL(ISLASTBAR&&BARSLAST(HH)<BARSLAST(LL),REF(H,SUMBARS(HH,2)-1),0,-SUMBARS(HH,2)+1,0,COLORRED),DOT;
DRAWSL(ISLASTBAR&&BARSLAST(HH)>BARSLAST(LL),VALUEWHEN(LL,L),0,-BARSLAST(LL),0,COLORGREEN),LINETHICK3;
DRAWSL(ISLASTBAR&&BARSLAST(HH)>BARSLAST(LL),REF(L,SUMBARS(LL,2)-1),0,-SUMBARS(LL,2)+1,0,COLORGREEN),DOT;
DRAWSL(ISLASTBAR&&BARSLAST(HH1)<BARSLAST(LL1),VALUEWHEN(HH1,H),0,-BARSLAST(HH1),0,COLORRED),LINETHICK3;
DRAWSL(ISLASTBAR&&BARSLAST(HH1)<BARSLAST(LL1),REF(H,SUMBARS(HH1,2)-1),0,-SUMBARS(HH1,2)+1,0,COLORRED),DOT;
DRAWSL(ISLASTBAR&&BARSLAST(HH1)>BARSLAST(LL1),VALUEWHEN(LL1,L),0,-BARSLAST(LL1),0,COLORGREEN),LINETHICK3;
DRAWSL(ISLASTBAR&&BARSLAST(HH1)>BARSLAST(LL1),REF(L,SUMBARS(LL1,2)-1),0,-SUMBARS(LL1,2)+1,0,COLORGREEN),DOT;
DRAWLINE1( CROSS(BACKSET(ISLASTBAR,SUMBARS(HH,2)),0.5),H,CROSS(BACKSET(ISLASTBAR,SUMBARS(HH,1)),0.5),H,1),COLORRED,LINETHICK5;
DRAWLINE1( CROSS(BACKSET(ISLASTBAR,SUMBARS(LL,2)),0.5),L,CROSS(BACKSET(ISLASTBAR,SUMBARS(LL,1)),0.5),L,1),COLORGREEN,LINETHICK5;
来源:程序化99网( WWW.CXH99.COM )
博易技术人员: HH:H>=HHV(H,10)&&H>=REFX(HHV(H,3),3),NODRAW;LL:L<=LLV(L,10)&&L<=REFX(LLV(L,3),3),NODRAW;
LX:L<=LLV(L,3)&&L<=REFX(LLV(L,3),3),NODRAW;
HX:H>=HHV(H,3)&&H>=REFX(HHV(H,3),3),NODRAW;
DRAWTEXT(HH,H,'H'),FONTSIZE15;
DRAWTEXT(LL,L,'L'),FONTSIZE15;
DRAWTEXT(BARSLAST(LL)<BARSLAST(HH)&&HX,H,'G'),FONTSIZE15;
DRAWTEXT(BARSLAST(LL)>BARSLAST(HH)&&LX,L,'F'),FONTSIZE15;
HH1:BARSLAST(LL)<BARSLAST(HH)&&HX,NODRAW;
LL1:BARSLAST(LL)>BARSLAST(HH)&&LX,NODRAW;
DRAWSL(ISLASTBAR&&BARSLAST(HH)<BARSLAST(LL),VALUEWHEN(HH,H),0,-BARSLAST(HH),0),COLORRED,LINETHICK3;
DRAWSL(ISLASTBAR&&BARSLAST(HH)<BARSLAST(LL),REF(H,SUMBARS(HH,2)-1),0,-SUMBARS(HH,2)+1,0),COLORRED;
DRAWSL(ISLASTBAR&&BARSLAST(HH)>BARSLAST(LL),VALUEWHEN(LL,L),0,-BARSLAST(LL),0),COLORGREEN,LINETHICK3;
DRAWSL(ISLASTBAR&&BARSLAST(HH)>BARSLAST(LL),REF(L,SUMBARS(LL,2)-1),0,-SUMBARS(LL,2)+1,0),COLORGREEN;
DRAWSL(ISLASTBAR&&BARSLAST(HH1)<BARSLAST(LL1),VALUEWHEN(HH1,H),0,-BARSLAST(HH1),0),COLORRED,LINETHICK3;
DRAWSL(ISLASTBAR&&BARSLAST(HH1)<BARSLAST(LL1),REF(H,SUMBARS(HH1,2)-1),0,-SUMBARS(HH1,2)+1,0),COLORRED;
DRAWSL(ISLASTBAR&&BARSLAST(HH1)>BARSLAST(LL1),VALUEWHEN(LL1,L),0,-BARSLAST(LL1),0),COLORGREEN,LINETHICK3;
DRAWSL(ISLASTBAR&&BARSLAST(HH1)>BARSLAST(LL1),REF(L,SUMBARS(LL1,2)-1),0,-SUMBARS(LL1,2)+1,0),COLORGREEN;
DRAWLINE( CROSS(BACKSET(ISLASTBAR,SUMBARS(HH,2)),0.5),H,CROSS(BACKSET(ISLASTBAR,SUMBARS(HH,1)),0.5),H,0),COLORRED,LINETHICK5;
DRAWLINE( CROSS(BACKSET(ISLASTBAR,SUMBARS(LL,2)),0.5),L,CROSS(BACKSET(ISLASTBAR,SUMBARS(LL,1)),0.5),L,0),COLORGREEN,LINETHICK5; 来源 程序化久久网
有思路,想编写各种指标公式,交易模型,选股公式,还原公式的朋友
可联系技术人员 QQ: 262069696 或微信号:cxh99cxh99 进行 有偿收费 编写!
(注:由于人数限制,QQ或微信请选择方便的一个联系我们就行,加好友时请简单备注下您的需求,否则无法通过。谢谢您!)
相关文章
-
没有相关内容