Reco Daley:
Set it to zero in the ea ,then the EA will ignore it but do realize that in that case you HAVE to set it manually/
Hi I have this EA and I was wondering what function or script to use to allow the users of the EA "myself" to change the Take profit value from within the MT4 Terminal.
Right now I cannot do such actions without the need to go into the code to change the value of Take profit manually.
There has to be a way .
You need to do the TakeProfit value as an external variable like ...
extern int TakeProfit = 300; or input int TakeProfit = 300; //Enter Take Profit in Points
Then, compile your code ...
Osama Shaban:
You need to do the TakeProfit value as an external variable like ...
Then, compile your code ...
thanks a whole lot

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
Hi I have this EA and I was wondering what function or script to use to allow the users of the EA "myself" to change the Take profit value from within the MT4 Terminal.
Right now I cannot do such actions without the need to go into the code to change the value of Take profit manually.
There has to be a way .