Hi,

I got error saying:

Error 5. Argument # 1 Has incorrecttype ( the function expects different 
argument type Here).

I expect to change price color depandng to macd cross.

Regards




--- In [email protected], "Mohammed" <softnews2...@...> wrote:
>
> 
> Hi Frends,
> 
> I'm using this code to show price in color depanding to my intery point.
> 
> For example :
> 
> mycolor = IIf(MACD() > Signal(), colorGreen, colorRed);
> 
> Current_Close = StrFormat(" %g ", C, SelectedValue( ROC( C, 1 ) ) );
> 
> GfxSelectFont( "Arial Black", 15, 700 );
> 
> GfxSetBkMode( 1 );
> 
> GfxSetTextColor( mycolor );
> 
> pxHeight = Status( "pxchartheight" );
> 
> t = pxHeight;
> 
> x5 = 10;
> 
> GfxTextOut( Current_Close, x5, t -95);
> 
> Any one can help Please.
> 
> Regards.
>


Reply via email to