请教文法 [MultiCharts MC]
- 咨询内容:
设定今天的5分k第一根红的h-l>15点 突破这跟高+3点买进 停损在跌破这跟低-3卖出 收盘出场 但是不能F3,why? vars:longcount(0); if date<>date[1] then begin longcount=0; end; value1= High(0)-low(0); if value1>15 and time<=0850 and longcount=0 then begin value2=high+3; value3=low-3; buy next bar at value2 stop; end; if marketposition=1 then longcount=1; sell next bar at value3 stop; setexitonclose; - MC技术部:
vars:longcount(0);
if date<>date[1] then begin
longcount=0;
end;
value1= High(0)-low(0);
if value1>15 and time<=0850 and longcount=0 then begin
value2=high+3;
value3=low-3;
buy next bar at value2 stop;
end;
if marketposition=1 then begin
longcount=1; sell next bar at value3 stop;
end; setexitonclose;
可能是少了这两个红字,你再试试看。 编辑文章 by JackLee 2012-04-18 13:24:27
如果以上指标公式不适用于您常用的行情软件
或者您想改编成选股公式,以便快速选出某种形态个股的话,
- 上一篇:请问:如何画出指定特定编号的趋势线?
- 下一篇:【公告】K线资料重整
相关文章
-
没有相关内容

会员登录/注册