等级: 新手上路
- 注册:
- 2021-7-16
- 曾用名:
|
楼主 |
发表于 2021-8-10 10:24
|
显示全部楼层
K11:=MACD1<MACD2 and MACD2<MACD3 and MACD3<MACD4 AND H<REF(H,1) ;
K22:=MACD1<MACD2 and MACD2<MACD3 and MACD3<MACD4 AND H<REF(H,1) ;
K33:=MACD1<MACD2 and MACD2<MACD3 and MACD3<MACD4 AND H<REF(H,1) ;
D11:=MACD1>MACD2 and MACD2>MACD3 and MACD3>MACD4 AND L>REF(L,1) ;
D22:=MACD1>MACD2 and MACD2>MACD3 and MACD3>MACD4 AND L>REF(L,1) ;
D33:=MACD1>MACD2 and MACD2>MACD3 and MACD3>MACD4 AND L>REF(L,1) ;
if d11 or d22 or d33 then begin
sellshort(1,0,thisclose);
buy(holding=0,1,thisclose);
end
if k11 or k22 OR K33 then begin
sell(1,0,thisclose);
buyshort(holding=0,1,thisclose);
end
在主图的蜡烛图上,当某根阳柱或阴柱上 满足 K11/K22/K33/D11/D22/D33/ 其中一个条件的,可以在当根柱上 显示文字 K11、K22、、、、吗?? 要加什么命令语句编写??请问能显示在 当根蜡烛的 柱体中间位置吗??
请帮我编写示范一下!
谢谢 |
|