Download the indicator attached called freescalpingindicator.
The EA should open a sell trade when a red bar appears.
The EA should open a buy trade when a yellow bar appears.
It should close the trade when the opposite coloured bar appears for the first time.
I must be able to control which type of trade (long or short) the EA is allowed to do.
For example if today I only want short trades to open, it should only open short trades.
It should only ever have 1 trade open maximum, and sometimes it will have no trade open.
sir i not understand this line "sometimes it will have no trade open". i understand all requirement and i can build your EA with your all requirement. waiting for your reply to start now and more discuss.