just wondering here, but wouldn`t it be easier to use input when setting the variables?
instead of
double riskPercent=0;
try
input double riskPercent=0;
that way the values can be chosen in the initialization window, instead of having to edit/compile for every case
just wondering here, but wouldn`t it be easier to use input when setting the variables?
instead of
try
that way the values can be chosen in the initialization window, instead of having to edit/compile for every case
Hi scur, thanks for your comment, I added other parameters to inputs window with explanation that they must be set only on second run of the script.
Hi Behzad; I tried compile the script
cannot convert 0 to enum 'ENUM_TRADE_REQUEST_ACTIONS' Fast Pending Orders-v1.1.mq5 237 30
it gave me that error.
Thank you
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
Fast Pending Orders:
By using Fast Pending Orders script, you don't need to calculate lot size when you opening Pending orders. Script calculates the proper lot size and sets the pending order(s) for you.
Author: Behzad Movaghar