Use loop to count opened trades and thus put limits on how much to open the trades.
Hey,
as i said im pretty new in this, can you specified where i can put limits? as i said i want just one trade per trade signal, if u ran this script you can see, its opening trade at every new close price if the conditions are met.
thanks
This forum is mainly about coders helping coders.
You will find people very helpful when you post your own efforts at coding.
Not many are prepared to correct code created by an EA builder
Influenza: can you specified where i can put limits?
Move your trailing stop code up above your signal code.
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Hello,
im pretty new in creating signals. I have to backtesting strategies for multiple commodities..
First i wanted to start with simple MA crossover but problem is that MT4 is creating me multiple trades insead of one i want at cross of MAs.
can you please fix this for me. I just want one trade opened at cross (when the conditions are met) and closed at opposite cross of MAs. Now its making multiple trades during fast MA is under slow MA and opposite (depends on buy or sell), in another words every single following price when conditions are met its trigering new trades.
For now i dont care about SL and TP i just need to fix this. Cross = Open one trade ---> Opposite cross = Close that trade.
thank you for help and time.