Hi,

I tried saving the code as ift.afl in the custom folder.

Then have a price chart inserted in an empty pane in any of the sheets ( if
needed increase the deault number of chart sheets [ in tools / preferences ]
, by selecting the file ( in your custom folder ) & right click & select
overlay. You get the arrows on the price bars. To have a better view, change
the price style to a line ( instead of candlestick ) - [ view price chart
style - line ].

May be you can have it done by coding too, which I am not very confident
yet.

Please update me if you are able to get.

thanks.



On Sun, Feb 21, 2010 at 7:48 PM, rs5353 <[email protected]> wrote:

>
>
> I am struggling with this for two days.
> Following AFL plots the indicator in a new pane below the price chart. But
> it also shows the up/down arrows on this indicator plot.
> What do I have to do to make the arrows appear on the price chart?
> The 'Show Trading Arrows' option has no effect - the arrows appear on the
> indicator plot whether it is set to 'Yes' or 'No' in the parameters box.
> Could not find any answer in the user guide. Any help would be truly
> appreciated. Thanks.
>
> //// General - purpose Inverse Fisher Transform function
>
> _SECTION_BEGIN("IFT");
>
> SetBarsRequired( 200, 0 );
>
> function InvFisherTfm( array )
> {
> e2y = exp( 2 * array );
> return ( e2y - 1 )/( e2y + 1 );
> }
>
> Value1 = 0.1 * ( RSI( 5 ) - 50 );
> Value2 = WMA( Value1, 9 );
> IFT = InvFisherTfm( Value2 );
>
> Plot( IFT, "IFT-RSI", colorRed, styleThick );
> PlotGrid( 0.5 );
> PlotGrid(-0.5 );
>
> _SECTION_END();
>
> _SECTION_BEGIN("SYSTEM");
>
> Buy = Cross(IFT,Ref(IFT,-1));
> Sell = Cross(Ref(IFT,-1),IFT);
>
> Buy = ExRem(Buy,Sell);
> Sell = ExRem(Sell,Buy);
>
> PlotShapes(shapeUpArrow*Buy,colorGreen);
> PlotShapes(shapeDownArrow*Sell,colorRed);
>
> _SECTION_END();
>
> 
>



-- 
-
Sent from Bangalore, KA, India

Reply via email to