Multi Timeframe Indicators - page 1033

William Snyder
9493
William Snyder  
whisperer:
Impressive chart. Is that only hull on it?

Yeah except it's the ha smoothed averages chart(using hourly data and Ahrens Ma) with the display price values indicator, the Hull was default except pctFilter = 1 and 4 hour time frame.

whisperer
1881
whisperer  
mrtools:
Yeah except it's the ha smoothed averages chart(using hourly data and Ahrens Ma) with the display price values indicator, the Hull was default except pctFilter = 1 and 4 hour time frame.

Thank you mrtools !

misi1
15
misi1  

HI MLADEN!

please help me correct coode, EA not working indicator TMA + CG , I want that arrow X red -open buy ,and arrow X blue -open sell position. HOW CORRECT CODE EA WRITE ??

Files:
misi1
15
misi1  

HI MLADEN!

please help me correct coode, EA not working indicator TMA + CG , I want that arrow X red -open buy ,and arrow X blue -open sell position. HOW CORRECT CODE EA WRITE ??

Files:
tmacg.mq4 9 kb
TerryToede
27
TerryToede  
mrtools:

Terry Toede, have this updated version that's mtf and has our standard alerts on it, and some user friendly drop downs.

Thank you and sorry for the late response, mtools.

I have tried the indi but it didn't work properly. The MT4 became not responding if we change the TF.

Could you please help me out?

Regards,

Mladen Rakic
154516
Mladen Rakic  
Terry Toede:

Thank you and sorry for the late response, mtools.

I have tried the indi but it didn't work properly. The MT4 became not responding if we change the TF.

Could you please help me out?

Regards,

Terry Toede

I have tested it just now too, and all seems to be working as it should

Would you mind sending us the exact parameters settings for that same indicator (with some screen capture would be perfect) of the case when it crashes for you?

name
992
name  

Works for me ...

Mladen Rakic
154516
Mladen Rakic  
MISI1:
HI MLADEN! please help me correct coode, EA not working indicator TMA + CG , I want that arrow X red -open buy ,and arrow X blue -open sell position. HOW CORRECT CODE EA WRITE ??

I am guessing that you omitted the first parameter (the TimFrame parameter) in the iCustom() call, but please post your iCustom() call code so that I can be sure

misi1
15
misi1  

HI MLADEN!

THIS IS MY WRONG CODE

double TMDOWN0=iCustom(Symbol(),0,"TMA+CG",0,0);

double TMDOWN1=iCustom(Symbol(),0,"TMA+CG",1,0);

double TMDOWN2=iCustom(Symbol(),0,"TMA+CG",2,0);

double TMDOWN3=iCustom(Symbol(),0,"TMA+CG",3,0);

double TMDOWN4=iCustom(Symbol(),0,"TMA+CG",4,0);

double TMDOWN5=iCustom(Symbol(),0,"TMA+CG",3,5);

double TMDOWN6=iCustom(Symbol(),0,"TMA+CG",6,0);

double TMUP0=iCustom(Symbol(),0,"TMA+CG",0,0);

double TMUP1=iCustom(Symbol(),0,"TMA+CG",1,0);

double TMUP2=iCustom(Symbol(),0,"TMA+CG",2,0);

double TMUP3=iCustom(Symbol(),0,"TMA+CG",3,0);

double TMUP4=iCustom(Symbol(),0,"TMA+CG",4,0);

double TMUP5=iCustom(Symbol(),0,"TMA+CG",5,0);

double TMUP6=iCustom(Symbol(),0,"TMA+CG",4,6);

if (OPENBUY=="buyFULL" && TMDOWN5!=EMPTY_VALUE ) return(true);

if (OPENSELL=="sellFULL" && TMUP6!=EMPTY_VALUE ) return(true);

if (CLOSEBUY=="CLOSEbuy" && TMUP6!=EMPTY_VALUE ) return(true);

if (CLOSESELL=="CLOSEsell" && TMDOWN5!=EMPTY_VALUE ) return(true);

Mladen Rakic
154516
Mladen Rakic  
MISI1:
HI MLADEN!

THIS IS MY WRONG CODE

double TMDOWN0=iCustom(Symbol(),0,"TMA+CG",0,0);

double TMDOWN1=iCustom(Symbol(),0,"TMA+CG",1,0);

double TMDOWN2=iCustom(Symbol(),0,"TMA+CG",2,0);

double TMDOWN3=iCustom(Symbol(),0,"TMA+CG",3,0);

double TMDOWN4=iCustom(Symbol(),0,"TMA+CG",4,0);

double TMDOWN5=iCustom(Symbol(),0,"TMA+CG",3,5);

double TMDOWN6=iCustom(Symbol(),0,"TMA+CG",6,0);

double TMUP0=iCustom(Symbol(),0,"TMA+CG",0,0);

double TMUP1=iCustom(Symbol(),0,"TMA+CG",1,0);

double TMUP2=iCustom(Symbol(),0,"TMA+CG",2,0);

double TMUP3=iCustom(Symbol(),0,"TMA+CG",3,0);

double TMUP4=iCustom(Symbol(),0,"TMA+CG",4,0);

double TMUP5=iCustom(Symbol(),0,"TMA+CG",5,0);

double TMUP6=iCustom(Symbol(),0,"TMA+CG",4,6);

if (OPENBUY=="buyFULL" && TMDOWN5!=EMPTY_VALUE ) return(true);

if (OPENSELL=="sellFULL" && TMUP6!=EMPTY_VALUE ) return(true);

if (CLOSEBUY=="CLOSEbuy" && TMUP6!=EMPTY_VALUE ) return(true);

if (CLOSESELL=="CLOSEsell" && TMDOWN5!=EMPTY_VALUE ) return(true);

That code is OK

Tested it like that (just a slight change) and all worked OK :

#property indicator_chart_window

extern int barToTestUp = 5;

extern int barToTestDn = 5;

int init()

{

return(0);

}

int deinit()

{

return(0);

}

int start()

{

double TMDOWN0=iCustom(Symbol(),0,"TMA+CG",0,barToTestUp);

double TMDOWN1=iCustom(Symbol(),0,"TMA+CG",1,barToTestUp);

double TMDOWN2=iCustom(Symbol(),0,"TMA+CG",2,barToTestUp);

double TMDOWN3=iCustom(Symbol(),0,"TMA+CG",3,barToTestUp);

double TMDOWN4=iCustom(Symbol(),0,"TMA+CG",4,barToTestUp);

double TMDOWN5=iCustom(Symbol(),0,"TMA+CG",3,barToTestUp);

double TMDOWN6=iCustom(Symbol(),0,"TMA+CG",6,barToTestUp);

double TMUP0=iCustom(Symbol(),0,"TMA+CG",0,barToTestDn);

double TMUP1=iCustom(Symbol(),0,"TMA+CG",1,barToTestDn);

double TMUP2=iCustom(Symbol(),0,"TMA+CG",2,barToTestDn);

double TMUP3=iCustom(Symbol(),0,"TMA+CG",3,barToTestDn);

double TMUP4=iCustom(Symbol(),0,"TMA+CG",4,barToTestDn);

double TMUP5=iCustom(Symbol(),0,"TMA+CG",5,barToTestDn);

double TMUP6=iCustom(Symbol(),0,"TMA+CG",4,barToTestDn);

Comment(TMDOWN5," ",TMUP6);

return(0);

}