what time frame is your chart setting

5 minutes?

 

 


To: [email protected]
From: [email protected]
Date: Fri, 11 Dec 2009 12:35:20 -0500
Subject: [amibroker] Volume 5min. VS Daily ????

  




In the formula below,
I'm try to compare the Volume in 5 minutes VS Min(V20,V50) in Daily
 
How PLOT the RATIO Big_Vol
and
only one start and one RATIO and not a lot of BUY SIGNAL ?
 
Thank 
 
 




_SECTION_BEGIN("Vol.5min");

SetChartOptions(0,chartShowArrows|chartShowDates);

_N(Title = StrFormat("{{NAME}} - {{INTERVAL}} {{DATE}} Open %g, Hi %g, Lo %g, 
Close %g (%.1f%%) {{VALUES}}", O, H, L, C, SelectedValue( ROC( C, 1 ) ) ));

TimeFrameSet( inDaily ); // switch to Daily frame

V20= Ref(MA(V,20),-2) ; // V20 Two day Before

V50= Ref(MA(V,50),-2) ; // V50 Two day Before

Vmin= (Min(V20,V50)/78) ; //Volume in 5min.

TimeFrameRestore(); // restore time frame to original

TimeFrameSet( in5Minute ); // switch to 5min. frame

Vol_5= V ;

TimeFrameRestore(); // restore time frame to original

Vmin_expand = TimeFrameExpand(Vmin,inDaily) ;

Vol_5_expand = TimeFrameExpand(Vol_5,in5Minute) ;

Big_Vol=(Vol_5_expand/Vmin_expand) ; //ratio of Vmin

Buy= Vol_5_expand>(2*Vmin_expand) ;

 

PlotShapes(Buy*shapeStar,colorBlue,0,H,10);

// How PLOT the RATIO Big_Vol

//Plot(Big_Vol,"Big_Vol",colorBlue,0,H,20 );  ????????????? 

_SECTION_END();




Merci
 
YLTech ( Yves L. )
 
Le présent message et les documents qui y sont joints sont réservés 
exclusivement au destinataire indiqué. Il est strictement interdit d'en 
utiliser ou d'en divulguer le contenu. Si vous recevez le présent message par 
erreur, veuillez le détruire S.V.P. et nous en aviser immédiatement afin que 
nous puissions corriger nos dossiers. Merci.
 
This message and the attached documents may contain privileged or confidential 
information that are intended to the addressee only. Any unauthorized 
disclosure is strictly prohibited. If you happen to receive this message by 
error, please delete it and notify us immediately so that we may correct our 
internal records. Thank you.
 
[email protected]




                                          
_________________________________________________________________
Hotmail: Powerful Free email with security by Microsoft.
http://clk.atdmt.com/GBL/go/171222986/direct/01/

Reply via email to