Hi,
I have an enquiry about doing simulated testing using the Strategy Tester of MT4 combined with either of Molanis products.
At present from my understanding the Strategy Builder either can be programmed to send an alert or trade. We can't seem to send alerts using the Custom Indicator builder.
If I build a strategy, say built as a custom indicator, and then it's imported in the Strategy builder through iCustom(), with trade and not alert. Running this through the Strategy Tester (ST), the EA will just run across the period in time I select for it to run.
What comes to mind is this as a preferred approach:
1. strategy conditions are met;
2. Alert is sent to stop everything for a decision to be made;
3. After decision made, then execute the BUY or SELL.
This is then more like a simulated test environment in real time without knowing what the market will do ahead in time using MT4 past data.
Normally with 3. a final decision to make before taking a trade or not, is after doing support / resistance, candle formation analysis etc ... I'm still trying to code this part using Molanis, which I was planning to add using the MQL block as a final sequence or even built through Custom Indicator builder then add in Strategy Builder as iCustom final sequence before using a BUY or SELL block
Right now the custom indicator builder does not send alerts.
The other issue I have is setting the STOP LOSS based on the most recent high or low analysis depending on direction to trade. The BUY/SELL/BUYP/SELLP have inputs for a defined SL value only.
I can't see how I can do this at present
Perhaps someone can share some thoughts on these.
Thank You