Hello,
I am new this forum, but I do not consider myself new to the industry. I used to trade Forex actively about 5 years ago for a couple of years, and was force to stop due to time constraints. However, I am back up and looking to begin trading in this industry again. Since I stopped trading, trading platforms and technology has changed.
Right now, I have been working on Expert Advisors and am trying to learn the art of coding them. Unfortunately, I am a rookie in the EA field so I need some help from you guys =)
My questions are...
1) How do I hedge an open order when it retraces back to the open price of the order? How do I tell the EA to close one of the positions of the Hedged orders when it reaches a certain price?
2) How do I close all trades made during the trading day when the next day starts, or at 00:00 GMT? (I almost figured this out, but not quite!)
3) How do I move up a stop loss when my position reaches a certain amount of pips profit? IE., If I opened a Buy order at 1.3000, SL 1.2970 and the price reaches 1.3040...how do I tell the EA to move SL to 1.3000?
I greatly appreciate any help that anyone gives me! If you need more information please let me know and I will post it. Oh yea, I am using IBFX Metatrader platform.
Thanks!
I am new this forum, but I do not consider myself new to the industry. I used to trade Forex actively about 5 years ago for a couple of years, and was force to stop due to time constraints. However, I am back up and looking to begin trading in this industry again. Since I stopped trading, trading platforms and technology has changed.
Right now, I have been working on Expert Advisors and am trying to learn the art of coding them. Unfortunately, I am a rookie in the EA field so I need some help from you guys =)
My questions are...
1) How do I hedge an open order when it retraces back to the open price of the order? How do I tell the EA to close one of the positions of the Hedged orders when it reaches a certain price?
2) How do I close all trades made during the trading day when the next day starts, or at 00:00 GMT? (I almost figured this out, but not quite!)
3) How do I move up a stop loss when my position reaches a certain amount of pips profit? IE., If I opened a Buy order at 1.3000, SL 1.2970 and the price reaches 1.3040...how do I tell the EA to move SL to 1.3000?
I greatly appreciate any help that anyone gives me! If you need more information please let me know and I will post it. Oh yea, I am using IBFX Metatrader platform.
Thanks!