I only do forex in zero spread accounts, in zero spread accounts at times the pairs can show a spread, there's how I can make a bot that makes a sell order at 70, and closes the order at 30, and which only opens the order when the spread is zero? Example, if the spread is 9, and the rsi reaches 70, the robot does not make a sell order because the spread is not zero. Can I make a bot that works like this? And how would I make this bot?
Documentation on MQL5: Constants, Enumerations and Structures / Trade Constants / Trade Orders in DOM
- www.mql5.com
Trade Orders in DOM - Trade Constants - Constants, Enumerations and Structures - MQL5 Reference - Reference on algorithmic/automated trading language for MetaTrader 5
- Rsi bot
- Bot with spread
- Bot spread
Jorge Merck:
I only do forex in zero spread accounts, in zero spread accounts at times the pairs can show a spread, there's how I can make a bot that makes a sell order at 70, and closes the order at 30, and which only opens the order when the spread is zero? Example, if the spread is 9, and the rsi reaches 70, the robot does not make a sell order because the spread is not zero. Can I make a bot that works like this?
I only do forex in zero spread accounts, in zero spread accounts at times the pairs can show a spread, there's how I can make a bot that makes a sell order at 70, and closes the order at 30, and which only opens the order when the spread is zero? Example, if the spread is 9, and the rsi reaches 70, the robot does not make a sell order because the spread is not zero. Can I make a bot that works like this?
Sure, but if this is working is a differnt story
In fact, you cannot.
Time is against you.
You will always only know the spread of the last received tick. You cannot know if the next tick will have no spread.
And you certainly do not know if the tick which executes your order will have no spread.
You can only assume.
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register