请老师转换一下,文华的转博弈大师 [博易POBO]
咨询内容:
总成交量:=VOL,STICK,COLORRED;
STICKLINE(总成交量<0,总成交量,0,2,1),RGB(231,231,231);
STICKLINE(总成交量>0,总成交量,0,2,1),RGB(192,192,192);
A1:=(REF(O,1) + REF(C,1)) / 2;
A2:=(H + L + C) / 3;
A3:=MAX(MAX(A1,A2),H);
A4:=MIN(MIN(A1,A2),L);
A5:=IF(A1 < A2,A3 - A4 + A2 - A1,A3 - A4);
A6:=IF(A1 > A2,A3 - A4 + A1 - A2,A3 - A4);
A7:=A5 / (A5 + A6) * VOL * MAX(ABS(A1 - A2) / (A3 - A4),0.15) / 10000;
A8:=A6 / (A5 + A6) * VOL * MAX(ABS(A1 - A2) / (A3 - A4),0.15) / 10000;
主力:(A7 - A8) * 25000,NODRAW;
STICKLINE(主力>0,主力,0,2,0),COLORRED;
STICKLINE(主力<0,0,主力,2,0),COLORGREEN;
HHHH:0,COLOR333333;
FF:=CROSS(C,M2);
FF1:=CROSS(C,M1);
HHH:=CROSS(FF,FF1);
AA:=MA(C,M1);
BB:=MA(C,M2);
EE:=L<=BB;
FF2:=H>=BB;
CC1:=AA>BB AND C<=BB;
DD1:=AA<BB AND C>=BB;
CC:=AA>BB AND C>=AA AND C>=BB AND EE;
DD:=AA<BB AND C<=AA AND C<=BB AND FF2;
DRAWTEXT(CC1 AND NOT(REF(CC1,1)),REF(主力,1),'反'),COLORBLUE;
DRAWTEXT(DD1 AND NOT(REF(DD1,1)),REF(主力,1),'反'),COLORRED;
STICKLINE(总成交量<0,总成交量,0,2,1),COLORE7E7E7;
STICKLINE(总成交量>0,总成交量,0,2,1),COLORC0C0C0;
A1:=(REF(O,1) + REF(C,1)) / 2;
A2:=(H + L + C) / 3;
A3:=MAX(MAX(A1,A2),H);
A4:=MIN(MIN(A1,A2),L);
A5:=IF(A1 < A2,A3 - A4 + A2 - A1,A3 - A4);
A6:=IF(A1 > A2,A3 - A4 + A1 - A2,A3 - A4);
A7:=A5 / (A5 + A6) * VOL * MAX(ABS(A1 - A2) / (A3 - A4),0.15) / 10000;
A8:=A6 / (A5 + A6) * VOL * MAX(ABS(A1 - A2) / (A3 - A4),0.15) / 10000;
主力:(A7 - A8) * 25000,NODRAW;
STICKLINE(主力>0,主力,0,2,0),COLORRED;
STICKLINE(主力<0,0,主力,2,0),COLORGREEN;
HHHH:0,COLOR333333;
FF:=CROSS(C,M2);
FF1:=CROSS(C,M1);
HHH:=CROSS(FF,FF1);
AA:=MA(C,M1);
BB:=MA(C,M2);
EE:=L<=BB;
FF2:=H>=BB;
CC1:=AA>BB AND C<=BB;
DD1:=AA<BB AND C>=BB;
CC:=AA>BB AND C>=AA AND C>=BB AND EE;
DD:=AA<BB AND C<=AA AND C<=BB AND FF2;
DRAWTEXT(CC1 AND NOT(REF(CC1,1)),REF(主力,1),'反'),COLORBLUE;
DRAWTEXT(DD1 AND NOT(REF(DD1,1)),REF(主力,1),'反'),COLORRED;
参数M2,M1请自行参照原公式修改。 来源 程序化久久网
请老师转换一下,文华的转博弈大师
现在用博弈大师了,请老师帮助转换一下文华公式. 谢谢总成交量:=VOL,STICK,COLORRED;
STICKLINE(总成交量<0,总成交量,0,2,1),RGB(231,231,231);
STICKLINE(总成交量>0,总成交量,0,2,1),RGB(192,192,192);
A1:=(REF(O,1) + REF(C,1)) / 2;
A2:=(H + L + C) / 3;
A3:=MAX(MAX(A1,A2),H);
A4:=MIN(MIN(A1,A2),L);
A5:=IF(A1 < A2,A3 - A4 + A2 - A1,A3 - A4);
A6:=IF(A1 > A2,A3 - A4 + A1 - A2,A3 - A4);
A7:=A5 / (A5 + A6) * VOL * MAX(ABS(A1 - A2) / (A3 - A4),0.15) / 10000;
A8:=A6 / (A5 + A6) * VOL * MAX(ABS(A1 - A2) / (A3 - A4),0.15) / 10000;
主力:(A7 - A8) * 25000,NODRAW;
STICKLINE(主力>0,主力,0,2,0),COLORRED;
STICKLINE(主力<0,0,主力,2,0),COLORGREEN;
HHHH:0,COLOR333333;
FF:=CROSS(C,M2);
FF1:=CROSS(C,M1);
HHH:=CROSS(FF,FF1);
AA:=MA(C,M1);
BB:=MA(C,M2);
EE:=L<=BB;
FF2:=H>=BB;
CC1:=AA>BB AND C<=BB;
DD1:=AA<BB AND C>=BB;
CC:=AA>BB AND C>=AA AND C>=BB AND EE;
DD:=AA<BB AND C<=AA AND C<=BB AND FF2;
DRAWTEXT(CC1 AND NOT(REF(CC1,1)),REF(主力,1),'反'),COLORBLUE;
DRAWTEXT(DD1 AND NOT(REF(DD1,1)),REF(主力,1),'反'),COLORRED;
来源:程序化99网( WWW.CXH99.COM )
博易技术人员: 总成交量:=VOL,STICK,COLORRED;STICKLINE(总成交量<0,总成交量,0,2,1),COLORE7E7E7;
STICKLINE(总成交量>0,总成交量,0,2,1),COLORC0C0C0;
A1:=(REF(O,1) + REF(C,1)) / 2;
A2:=(H + L + C) / 3;
A3:=MAX(MAX(A1,A2),H);
A4:=MIN(MIN(A1,A2),L);
A5:=IF(A1 < A2,A3 - A4 + A2 - A1,A3 - A4);
A6:=IF(A1 > A2,A3 - A4 + A1 - A2,A3 - A4);
A7:=A5 / (A5 + A6) * VOL * MAX(ABS(A1 - A2) / (A3 - A4),0.15) / 10000;
A8:=A6 / (A5 + A6) * VOL * MAX(ABS(A1 - A2) / (A3 - A4),0.15) / 10000;
主力:(A7 - A8) * 25000,NODRAW;
STICKLINE(主力>0,主力,0,2,0),COLORRED;
STICKLINE(主力<0,0,主力,2,0),COLORGREEN;
HHHH:0,COLOR333333;
FF:=CROSS(C,M2);
FF1:=CROSS(C,M1);
HHH:=CROSS(FF,FF1);
AA:=MA(C,M1);
BB:=MA(C,M2);
EE:=L<=BB;
FF2:=H>=BB;
CC1:=AA>BB AND C<=BB;
DD1:=AA<BB AND C>=BB;
CC:=AA>BB AND C>=AA AND C>=BB AND EE;
DD:=AA<BB AND C<=AA AND C<=BB AND FF2;
DRAWTEXT(CC1 AND NOT(REF(CC1,1)),REF(主力,1),'反'),COLORBLUE;
DRAWTEXT(DD1 AND NOT(REF(DD1,1)),REF(主力,1),'反'),COLORRED;
参数M2,M1请自行参照原公式修改。 来源 程序化久久网
有思路,想编写各种指标公式,交易模型,选股公式,还原公式的朋友
可联系技术人员 QQ: 262069696 或微信号:cxh99cxh99 进行 有偿收费 编写!
(注:由于人数限制,QQ或微信请选择方便的一个联系我们就行,加好友时请简单备注下您的需求,否则无法通过。谢谢您!)
相关文章
-
没有相关内容