Awesome Oscillator & Copybuffer the color

 

Hello,

I'm looking for a way to CopyBuffer() the color change from the AO oscillator. I can get the value, but not the color. I didn't find any docs on this buffer, i watch the indicator source, it seems that it's the n°1, but yet can't get it to work. & what does it return ?

Any help appreciated.


Thanks

 
blouf:

Hello,

I'm looking for a way to CopyBuffer() the color change from the AO oscillator. I can get the value, but not the color. I didn't find any docs on this buffer, i watch the indicator source, it seems that it's the n°1, but yet can't get it to work. & what does it return ?

Any help appreciated.


Thanks

increase/decrease in value for 2 candle making change color. is this help?
 
TIMisthebest:
increase/decrease in value for 2 candle making change color. is this help?

It may. I wished there a quicker way to get the color change.

Thanks anyway.

 

   if (CopyBuffer(AOHandle, 0, 0, 3, awo)) return;

  if ((awo[3] < awo[2] && awo[2] < awo[1]))


this seems correct to you to get the color change ?

 
blouf:

   if (CopyBuffer(AOHandle, 0, 0, 3, awo)) return;

  if ((awo[3] < awo[2] && awo[2] < awo[1]))


this seems correct to you to get the color change ?

sorry i dont understand what do you mean.
 
TIMisthebest:
sorry i dont understand what do you mean.
I'd like to get the signal given by the change of color in Awesome O. to add an alert
 
blouf:
I'd like to get the signal given by the change of color in Awesome O. to add an alert

......4  3  2  1  0   ( # bar)

if ( AO[0] > AO[1] && AO[1]<AO[2] ) alert

if ( AO[0] < AO[1] && AO[1]>AO[2] ) alert

 
TIMisthebest:

......4  3  2  1  0   ( # bar)

if ( AO[0] > AO[1] && AO[1]<AO[2] ) alert

if ( AO[0] < AO[1] && AO[1]>AO[2] ) alert

thx, will try it now
Reason: