Hi Alex

Thanks. The afl works fine.

Regards
CB


--- In [email protected], "dralexchambers" 
<[EMAIL PROTECTED]> wrote:
>
> This is for 15 minute - drop this AFL onto your 1 minute chart.
> Change "in15Minute" to "in5Minute" for 5min BBands.
> 
> It looks as though it correlates.
> 
> Also check the Help documentation for "Multiple TimeFrames"
> 
> Hope this helps,
> Alex
> 
> =============================================================
> 
> TimeFrameSet(in15Minute);
> 
> BTop = BBandTop(C,20,2);
> BTop = Ref(BTop,1); // For some reason you need to do this: do a 
> manual test and see
> 
> BBot = BBandBot(C,20,2);
> BBot = Ref(BBot,1); // For some reason you need to do this: do a 
> manual test and see
> 
> BMid = MA(C,20);
> Bmid = Ref(Bmid,1); // For some reason you need to do this: do a 
> manual test and see
> 
> TimeFrameRestore();
> 
> Plot(TimeFrameExpand(BTop,in15Minute),"BTop",colorRed);
> Plot(TimeFrameExpand(BBot,in15Minute),"BBot",colorRed);
> Plot(TimeFrameExpand(BMid,in15Minute),"BMid",colorRed);
>


Reply via email to