Elite indicators :) - page 156

 

this thread has gone awefully quiet....

mladen, hope you're ok.

have a great weekend!

 
casaliss:
hi mladen

superwoodiescci indicator

multi time frame

thanks

casaliss,

Here you go The usual interpolate option included too
Fudomyo:
this thread has gone awefully quiet....

mladen, hope you're ok.

have a great weekend!

Fudo, all is OK. Only had some things that needed to be done without delay and my posting at TSD suffered a bit because of that. Now it is resolved so my time will be less divided

Wish a great weekend to all

regards

mladen

Files:
 
mladen:
casaliss,

Here you go

The usual interpolate option included too

Fudo, all is OK. Only had some things that needed to be done without delay and my posting at TSD suffered a bit because of that. Now it is resolved so my time will be less divided

Wish a great weekend to all

regards

mladen

thanks mladen

 

Best regards

 

Rsx ema mtf

Best regards

Doc

 

High low channel SW

Hi everybody,

i just finish this sw version of highlow channel made it by Mladen...

i divided the 2 line so you can try other combination with other lines of your choice... obviously you must put all this 3 indys inside the indicator folder

Best regards

Doc

 

Rsx sw

Best regards

Doc

 

SW Doc

Best regards

Doc

 

Doc Sequential

Best regards

Doc

 

Quick coding question:

If I want an indicator to start its calculation on the open of a new bar, how can I code this?

I now have this - just an example, but I doubt it's correct:

datetime lastbar;

double buffer_a[];

double buffer_b[];

//+------------------------------------------------------------------+

//| Custom indicator iteration function |

//+------------------------------------------------------------------+

int start()

{

int bars_counted = IndicatorCounted();

if(bars_counted < 0)

{

return(1);

}

bars_counted--;

int limit = Bars - bars_counted;

if(limit>BarsToLoad && BarsToLoad>0)

{

limit = BarsToLoad;

}

for(int i=limit; i>=0; i--)

{

if(lastbar != Time[0])

{

buffer_a = iMA(Symbol(), 0, FastEMA, 0, MODE_EMA, PRICE_CLOSE, i);

buffer_b = iMA(Symbol(), 0, FastEMA, 0, MODE_EMA, PRICE_CLOSE, i+1);

//LONG ARROW

if(buffer_a > buffer_b)

{

ExtMapBuffer1 = Open - distance;

}

//SHORT ARROW

if(buffer_a < buffer_b)

{

ExtMapBuffer2 = Open + distance;

}

lastbar = Time[0];

}

}

//----

return(0);

}

//+------------------------------------------------------------------+
Reason: