Price crosses above assigned variable (Market Order)
5 replies
IvanD1983
6 years ago #117527
Hi Tomas et all,
I am currently stuck under the following situation.
I want my EA to first assess a given range from 19:00 until 19:45. After that, some variables will be assigned, such as highest, lowest and mid of the range levels. Afterwards, from 20:00, I want the EA to take a trade Long on a Market Order if price crosses above the ‘mid range’ variable. Unfortunately, the ‘mid range’ variable seems not to be recognized as no positions are entered. However, if i give the EA the order to enter Long on a Limit Order if above the mid range or on a Stop Order when below, it works and the ‘mid range’ level is recognized.
Can you please help me find a solution for the order to be at Market?
I hereby attach my initial sqw file.
tomas262
6 years ago #144314
Ok, will check the EA and modify if possible (also seen your other post)
IvanD1983
6 years ago #144321
IvanD1983
6 years ago #144398
Any news?
tomas262
6 years ago #144404
IvanD1983
6 years ago #144447
Will have a look today. Thanks!
Viewing 5 replies - 1 through 5 (of 5 total)