Hi all the ComplexPairSignal_tuned isn't working on my offline charts can someone take a look at it? I'm using the attached version of PeriodCon, thanks.
Try this : complexpairsignal_tuned_1.01.mq4
Did not test it. Use the "offline" parameters to set the desired parameters when in offline mode
Ok thanks mladen!
thank you so much CJA. u are the best!
Regarding post #941 on page 95: this version fixes the counted bars but the alerts do not work. The alerts were fixed in this version https://www.mql5.com/en/forum/180648/page470 -- if you would, please combine the two fixes.
Replace the SymbolToSound() function with this :
string sym = Symbol();
for ( int i=0; i<ArraySize(pairs); i++ )
if ( StringFind( sym , pairs , 0) >= 0 )
case 0: asound="EUR_USD.wav"; break;
case 1: asound="GBP_USD.wav"; break;
case 2: asound="AUD_USD.wav"; break;
case 3: asound="USD_CHF.wav"; break;
case 4: asound="USD_JPY.wav"; break;
case 5: asound="EUR_AUD.wav"; break;
case 6: asound="GBP_CHF.wav"; break;
case 7: asound="GBP_JPY.wav"; break;
case 8: asound="EUR_JPY.wav"; break;
case 9: asound="USD_CAD.wav"; break;
if ( soundtype == 1)
asound = "BreakOut_" + asound;
else if ( soundtype == 2 )
asound = "TrendChange_" + asound;
asound = "alert.wav";
It is lacking wav files, that is why it is not alerting. If you have those wav files it will alert properly
could you please check inside the code of your script? There is a bug.
It's an ex4 file so I cannot fix the code.
Thanks a lot.
I would like to ask if anyone have an simple modified indicator of Williams%R wich will color the indicator line with green when pointing up and red when pointing down as per the below snapshot from my mobile phone.
Thanks in advance.
I had a look and found no problems with the code.
#1 Drag and Drop means that the script has to be dragged onto the chart not just just double clicked in the navigator window
#2The script has to be released on the chart close to the current bid price as it is setting a straddle of Two pending stop orders either side of the current price.
#3 If the straddle distance is set too close to the bid price ( Below the Broker allowed stop distance ) the pending orders will not set.
Indeed I forgot to DRAG the script...anyway it works great! Thank you very much.