Fyco Christian Kusuma #: it would be great if you could make the same modify TP SL by price like the one for MT4. anyway, thank you very much for the script. its a great job
what i am trying to do is have a fixed number for pips so i can just hit the hotkey and it automatically sets the sl and tp with the predetermined pip size-
Hi, how can I set a fixed number of points and not have to confirm when setting and pressing a hotkey?
Thanks -
nytava #: What I'm trying to do is set a fixed number for the pips so that all I have to do is press the hotkey and it automatically sets the sl and tp at the predetermined pips size.
inputdouble InpStoploss = 1000 ; //Stop Loss Pointsinputdouble InpTakeProfit = 3000 ;// Take Profit Points
See attachment. The default is 1000,3000, you want to change it to your point count and only change the numbers 1000 and 3000 themselves.
Download the file and save it to the Scripts folder: MT5 menu bar: File -- Data folder -- MQL5 -- Scripts Double click on it and it will open the compiler, change 1000,3000 to the numbers you want and press F7 on your keyboard to compile it, there are no errors.
nytava #: what i am trying to do is have a fixed number for pips so i can just hit the hotkey and it automatically sets the sl and tp with the predetermined pip size-
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.
You are signed in. Two-factor authentication has been disabled. Set it up again and scan a new QR code, or continue with two-factor authentication disabled.
it would be great if you could make the same modify TP SL by price like the one for MT4. anyway, thank you very much for the script. its a great job
Please check the attached script.
Hi, how can i set a fixed number of pips and no confirmation when i set and press the hot key for it?
thank you--
Hi, how can I set a fixed number of points and not have to confirm when setting and pressing a hotkey?
Thanks -
What I'm trying to do is set a fixed number for the pips so that all I have to do is press the hotkey and it automatically sets the sl and tp at the predetermined pips size.
See attachment.
The default is 1000,3000, you want to change it to your point count and only change the numbers 1000 and 3000 themselves.
Download the file and save it to the Scripts folder: MT5 menu bar: File -- Data folder -- MQL5 -- Scripts
Double click on it and it will open the compiler, change 1000,3000 to the numbers you want and press F7 on your keyboard to compile it, there are no errors.
what i am trying to do is have a fixed number for pips so i can just hit the hotkey and it automatically sets the sl and tp with the predetermined pip size-
hi- it is working now thank you- i just need the TP and SL to be based of the purchase price and not the market price-