很简单的策略却被我写成这副德性,放上来让大家取笑一下也求大家教导
KIFF9231
|
3499 人阅读
|
1 人评论
|
2015-09-22
K线上破1.11111收盘第二根K线开盘在上方开买单
K线跌破1.11111收盘第二根K线开盘在下方之前的买单止损再开一个卖的
最大只开一单,小弟也花了时间自己尝试学习写,可是就是出现错误,我写成这样:
if
Open[1]>12345double buy
Open[1]<12345double sell
按了偏写出现以下错误
'if' - semicolon expected my1ea002.mq4 38 1
'if' - expressions are not allowed on a global scope my1ea002.mq4 38 1
'sell' - unexpected end of program my1ea002.mq4 40 21
然后我把"if"删除了就出现:
'Open' - semicolon expected my1ea002.mq4 38 1
expressions are not allowed on a global scope my1ea002.mq4 38 1
'sell' - unexpected end of program my1ea002.mq4 39 21
'sell' - unexpected end of program my1ea002.mq4 39 21
open也洗掉的话就空了
我也觉得还是大大不足,一定还有很多很多我没写到,现在放上来请大家笑也求指导下 |
|
|
|
|
看的人多,没人来回复,都是来打广告的吗,我也来学习的 |
|
|
|
|