个人爱好分享
期货金塔加码一般分为正金字塔和倒金字塔,正金字塔就是后边加码数量每次比原来的少,倒金字塔刚好相反。至于平均价实际就是算术平均值了,比如你买SR之一次5手,价格5000元/T,第二次3手5200元/T,则你的平均成本就是(5*5000+3*5200)/8=5075/T
[img]交易开拓者论坛,和文华论坛,还有金字塔决策系统的论坛,其中文华的论坛需要下载软件安装后才能从软件进入。
你这个是交易策略的问题了。建议你到金字塔决策交易论坛去提问,那里有专门的人员会回答你的,
{期货做空如下}
LC:=REF(CLOSE,1);
TRT:=MAX((HIGH - LOW),MAX((HIGH - LC),(LC - LOW)));
ATR:= *** A(TRT,20,1);AA:=(HHV(HIGH,55) - (2 * ATR));
BB:=CROSS(CLOSE,REF(HHV(HIGH,55),1));
SSS:=CROSS(MIN(MA(CLOSE,13),AA),CLOSE);
BBB:=BARSLAST(BB);
SSSB:=BARSLAST(SSS);
B1:=((BBB = 0) AND (REF(SSSB,1) B1B:=BARSLAST(B1);
B2:=((((BB = 1) AND (B1B 0)) AND (COUNT(BB,SSSB) B2B:=BARSLAST(B2);B3:=((((BB = 1) AND (B2B 2));
B3B:=BARSLAST(B3);SS:=CROSS(MAX(AA,MA(CLOSE,13)),CLOSE);
SS1:=(((SS AND ((B3B B1B)) AND (COUNT(SS,B2B) SS1B:=BARSLAST(SS1);SS2:=((((SS AND (SS1B 0)) AND (COUNT(SS,B2B) SSSS:=(SSS AND (REF(SSSB,1) REF(B1B,1)));
DRAWICON((B1 = 1),(LOW*0.999),1);
DRAWTEXT((B1 = 1),(LOW*0.998),'平仓1'),COLOR0000FF;
DRAWICON((B2 = 1),(LOW*0.999),1);
DRAWTEXT((B2 = 1),(LOW*0.998),'平仓2'),COLOR0000FF;
DRAWICON((B3 = 1),(LOW*0.999),1);
DRAWTEXT((B3 = 1),(LOW*0.998),'平仓3'),COLOR0000FF;
DRAWICON((SS1 = 1),(HIGH*1.001),2);
DRAWTEXT((SS1 = 1),(HIGH*1.002),'多转空1'),COLOR00FF00;
DRAWICON((SS2 = 1),(HIGH*1.001),2);
DRAWTEXT((SS2 = 1),(HIGH*1.002),'多转空2'),COLOR00FF00;
DRAWICON((SSSS = 1),(HIGH*1.001),2);
DRAWTEXT((SSSS = 1),(HIGH*1.002),'开空'),COLOR00FF00;
网站首页:期货手续费网-加1分开户(微信:527209157)
本文链接:http://52ol.cn/post/52118.html
Copyright 2012-2024 期货手续费网-加1分开户 网站地图 邮箱:diyijiaoyi@qq.com 微信:527209157 湘ICP备18014167号