Hello, can someone help me?
I'm newbie on mql programming, how to run script with prefix and suffix pair?
This script has been run successfully on basic pair ( no prefix and suffix). Thank you
I don't think this script needs to take into account prefixes and suffixes, what's the problem?
-
You already have the OrderSymbol. What more do you need?
-
if(!OrderSelect(OrdersTotal()-1,SELECT_BY_POS)) return;
This selects the most recent order. Not the order on the current chart.
Why?
To determine prefix and suffix.
I don't see how you can do that withStringSubstr().
I don't see how you can do that withStringSubstr().
Use Symbol () as the string value and decide from which pos to read it from.
Use Symbol () as the string value and decide from which pos to read it from.
That's what I don't understand. How do you decide which position to read from?
Yes, it is easy to know for a prefix as that will be 0, but how do you determine...
a. Is there a prefix?
b. The length of the prefix?
For a suffix, how do you determine...
a. Is there a suffix?
b. The start position of the suffix?
That's what I don't understand. How do you decide which position to read from?
Yes, it is easy to know for a prefix as that will be 0, but how do you determine...
a. Is there a prefix?
b. The length of the prefix?
For a suffix, how do you determine...
a. Is there a suffix?
b. The start position of the suffix?
I never tried for prefix but you can find to suffix easily ( if there )
if there is no suffix it returns nothing
I never tried for prefix but you can find to suffix easily ( if there )
if there is no suffix it returns nothing
Ok, so it is not possible for a prefix then.
I still don't understand....
For a suffix, how do you determine...
a. Is there a suffix?
b. The start position of the suffix?
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
Hello, can someone help me?
I'm newbie on mql programming, how to run script with prefix and suffix pair?
This script has been run successfully on basic pair ( no prefix and suffix). Thank you