Specification
Hi developers,
I don't know if this is possible, but if it is then the developers on MQL5 will definitely be able to help. :)
The Idea:
I want an EA that can recognize objects drawn on a chart, and make trading decisions because of it.
For instance: if I draw rectangles on the chart to mark a supply or demand zone, I want the EA to enter the trades when the price reaches the zone.
SELL: if it reaches the rectangle from the bottom, and
BUY: if it reaches the rectangle from the top.
When price reaches the rectangle from the top and enters a buy trade, but price keeps dropping through and CLOSE below the zone, the trade needs to be taken out. This can either be a SL feature, or a recognition feature.
It will then become a SELL trade, because it is below the rectangle.
This EA should only work on the chart that it's attached to.
For instance only on EURUSD, or GBPUSD, or whichever chart it is attached to - not the whole terminal. I suspect there would be different magic numbers involved if I want to use it on multiple charts in one terminal.
Please ask me any questions that would clarify any confusions.
INPUTS/VARIABLES that I would like to have in addition to the inputs needed for the above logic (but not limited to):
- A way to attach it to multiple charts in one terminal
- Take profit
- Stop Loss
- A choice between using percentage risk per trade or lots per trade
- A trailing stop loss
- I would like to indicate how many trades should be opened per signal.