Coding help - page 270

Mladen Rakic
181889
Mladen Rakic  
Equity:
It's not the reason. I made SL level much bigger and still got the same: nothing happened.... "As a genuine ECN platform, Excel Markets allows traders to use any type of automated or manual trading strategy, with no restrictions whatsoever on stop and limit orders to the current market price."

Can not check scripts till Monday

We shall have to wait till then

Maciej Barszczak
154
Maciej Barszczak  

OK.

Thank you very much, Mladen!

Dawid Ciechowski
294
Dawid Ciechowski  

hello,

I have a problem with this indicator... when I'm adding it to the chart, next time when I'm opening MT4 it disappears... what's the problem?

Files:
Mladen Rakic
181889
Mladen Rakic  
freakout:
hello, I have a problem with this indicator... when I'm adding it to the chart, next time when I'm opening MT4 it disappears... what's the problem?

Try it out now : i-profittracker_1.mq4

Files:
Dawid Ciechowski
294
Dawid Ciechowski  
mladen:
Try it out now : i-profittracker_1.mq4

problem fixed! thank you :-)

airquest
373
airquest  
mladen:
airquest It has to be recoded to enable you to do that. But in that case dynamic zone values are going to be in front of the main value

Would you mind to do it and post it in elite or advance section ? I'll get it then. As for myseilf, no worries for DZ being in the front. Please let me know where it has been posted. Thanks a lot.

ForexHill
11
ForexHill  

Bat.file issue

Hi !

I would like my custom indicator to run a bat.file whenever a signal is present.I know that this is possible with EA but I do not know if this will work with custom indicator.

Is there need to make a big change to the code itself generally or is it sufficient changes like in Terminal tab /Alert editor/File download and some changes in the indicator to execute the bat.file. I am referring here to functions like PlaySound and SendMail.

Has anyone done a similar? http://live-forextsd.netdna-ssl.com/images/smilies/rolleyes2.gif

Mladen Rakic
181889
Mladen Rakic  
ForexHill:
Hi !

I would like my custom indicator to run a bat.file whenever a signal is present.I know that this is possible with EA but I do not know if this will work with custom indicator.

Is there need to make a big change to the code itself generally or is it sufficient changes like in Terminal tab /Alert editor/File download and some changes in the indicator to execute the bat.file. I am referring here to functions like PlaySound and SendMail.

Has anyone done a similar? http://live-forextsd.netdna-ssl.com/images/smilies/rolleyes2.gif

You have to use ShellExecuteA() or ShellExecuteW() windows API function from shel32.dll for that. There is no equivalent in MQL for that

William Snyder
9505
William Snyder  
airquest:
Would you mind to do it and post it in elite or advance section ? I'll get it then. As for myseilf, no worries for DZ being in the front. Please let me know where it has been posted. Thanks a lot.

Airquest posted one here: https://www.mql5.com/en/forum/general

tkz883
31
tkz883  
mladen:
That version must be compiled using the new metatrader 4 Here is a version that can be compiled using build 509 too (so it will compile OK on a new metatrader 4 as well as on the old one) : symbols_ratios_1.mq4

Dear MLaden,

May i know if i can write condition based on the bolinger band of symbol ratios?

For example, long signal forms when price breaches lower bolinger band

short signal forms when price breaches upper bolinger band?