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. yltech@xxxxxxxxxxxx
__._,_.___
**** IMPORTANT PLEASE READ ****
This group is for the discussion between users only.
This is *NOT* technical support channel.
TO GET TECHNICAL SUPPORT send an e-mail directly to
SUPPORT {at} amibroker.com
TO SUBMIT SUGGESTIONS please use FEEDBACK CENTER at
http://www.amibroker.com/feedback/
(submissions sent via other channels won't be considered)
For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/
__,_._,___
|