Indicators: BB stops

 

BB stops:

BB stops - new version.

Author: Mladen Rakic

 
Has anybody tried to use iCustom to call this indicator included in the resources as follows?

#include <TradeTransaction.mqh>
#resource "\\Indicators\\GK_trend.ex5"

#resource "\\Indicators\\BB_stops.ex5"


int  hGKTrend, hBBStops;

.

.

.

.

void OnInit(){   

hGKTrend=iCustom(_Symbol,PERIOD_CURRENT,"::Indicators\\GK_trend",13,MODE_EMA,PRICE_CLOSE,11,1.3,0.15,0);

hBBStops=iCustom(_Symbol,PERIOD_CURRENT,"::Indicators\\BB_stops",20,MODE_SMA,PRICE_CLOSE,20,1,false,1,false,true,true,false,false,false,true);

.

.

.

}


I got GK_trend indi loaded successfully, but not BB-stops...

I received the following error message as I ran it in strategy tester:

cannot load resource 'C:\MT5\HMVIXTRADE\DEMO\Tester\Agent-127.0.0.1-3000\MQL5\Experts\HMMartiZone.ex5::Indicators\artiZone.ex5::Indicators\BB_stops.ex5'

Any help is greatly appreciated.

Regards,


Herman


 

 
Herman Makmur #:
Has anybody tried to use iCustom to call this indicator included in the resources as follows?

#include <TradeTransaction.mqh>
#resource "\\Indicators\\GK_trend.ex5"

#resource "\\Indicators\\BB_stops.ex5"


int  hGKTrend, hBBStops;

.

.

.

.

void OnInit(){   

hGKTrend=iCustom(_Symbol,PERIOD_CURRENT,"::Indicators\\GK_trend",13,MODE_EMA,PRICE_CLOSE,11,1.3,0.15,0);

hBBStops=iCustom(_Symbol,PERIOD_CURRENT,"::Indicators\\BB_stops",20,MODE_SMA,PRICE_CLOSE,20,1,false,1,false,true,true,false,false,false,true);

.

.

.

}


I got GK_trend indi loaded successfully, but not BB-stops...

I received the following error message as I ran it in strategy tester:

cannot load resource 'C:\MT5\HMVIXTRADE\DEMO\Tester\Agent-127.0.0.1-3000\MQL5\Experts\HMMartiZone.ex5::Indicators\artiZone.ex5::Indicators\BB_stops.ex5'

Any help is greatly appreciated.

Regards,


Herman


 

Your parameters in the bb_stops call are wrong. You are missing time frame parameter

 
Mladen Rakic #:

Your parameters in the bb_stops call are wrong. You are missing time frame parameter

Owh okay... I thought the 2nd parameter PERIOD_CURRENT was sufficient, so I need to add another PERIOD CURRENT for it to work as follows:

SOLVED

   hBBStops=iCustom(_Symbol,PERIOD_CURRENT,"::Indicators\\BB_stops",PERIOD_CURRENT,20,MODE_SMA,PRICE_CLOSE,20,1,false,1,false,true,true,false,false,false,true);


Thanks for your help...


Brgds


Herman

 
This indicator is the best. I use it a lot, I want to change the sound in it,I have done a lot of R&D on this indicator in MQ.5,But still I have not been able to change their sound,I am unable to find out where my mistake is,I don't want the sound that is in the alert in the events of option mt5,Because that alert sound is being used in another indicator,That's why I want another sound for BB Stops,MQ.5 Even after doing a lot of R&D in the file, I am not able to change anything,I need your help ,If I want to set any other audio other than the audio in the alert, how can I do it? thankyou sir