Thank you for your help, But I relly give up with it to fix. If any one can help fix it I will be highly appreciated
Regards --- In [email protected], "Mike" <sfclimb...@...> wrote: > > I believe that the problem is that you are passing an array to a function > that is expecting a scaler. You could probably use the SelectedValue function > on the (MACD() > Signal()) condition to figure the current color in the same > way that you are using it to figure the current close. > > Mike > > --- In [email protected], "Mohammed" <softnews2003@> 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. > > >
