I have a very simple code that needs fixing. It is currently loaded and working on MT4 apart from a problem as follows:
The expert stops functioning when
- there is another expert running on the same chart
- the MT4 is re-started for one reason or another
- the expert is missed a trade for a reason
the code does this:
it sells a certain amount regardless of anything, that is NO indicators, NO technical analyses and NO NOTHING.
sets a TP - NO SL
if the TP is hit then it opens another short position starting it all from beginning.
if the market goes backwards then it opens more short positions every X pips at an increasing amount, takes the AVG price and adjusts the TP... and so on.
Please let me know if you can help me fix this.
Thanks