Hello, I'm from Vietnam. I'm an experienced MT4 & MT5 Coder and Forex Trader. I checked your project and here are some my discussions:
Input:
- Security Type is not needed, EA can identify and only manage its trade. Basically, each EA must have its Magic Number to manage its trades, no related to other EA.
- Spread: EA also can detect. However, EA will have MaxSpread input. If market Spread is higher than MaxSpread you set, EA will not open trade.
Entry rule:
- It is OK. Indeed, this rule is related to candle crossing the MA to enter
- Another thing is that when Stop Loss trigger (indeed, it is trailing function), for example, a BUY is stopped out/closed, open another SELL. Then EA stop, and waiting for new Signal, right?.
Exit rule:
- Stop Loss trigger is Trailing function, I understood your idea.
- I understand that on any time frame, positions will be closed when candle closed, I think that is your idea.
My coded EA will be general as your request. Besides, EA also has a nice Dash Board showing useful information.
Please message me so that we can discuss. Thank you!.
Regards!.