PureBytes Links
Trading Reference Links
|
friends i need to draw trendline,logic is for lowerline start from low of lower close, ignore low of close>open, i try:-
LOWERLINE=ValueWhen(Lowest(Close),Low);
but when i use this in AFL, trendline does not start from low of lower close day of my sad perioud,PLEASE HELP, thax in advanced. nifty46(Dhiraj Sood)
x =Cum(1);
per =Param("PERIOUD",4,1,25,1);
LOWERLINE=ValueWhen(Lowest(Close),Low);
pS =TroughBars( LOWERLINE, per, 1 ) == 0;
//===============SUPPORT TRENDLINE ==============
endt=LastValue(ValueWhen( pS, x, 1 ));
startt=LastValue(ValueWhen( pS, x, 2 ));
endS =LastValue(ValueWhen( pS, LOWERLINE, 1 ) );
startS =LastValue( ValueWhen( pS, LOWERLINE, 2 ));
dtS =endt-startt;
aS = (endS-startS)/dtS;
bS = endS;
trendlineS = aS * ( x -endt ) + bS;
//===============================================
------------------------------------
**** 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/
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/amibroker/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/amibroker/join
(Yahoo! ID required)
<*> To change settings via email:
mailto:amibroker-digest@xxxxxxxxxxxxxxx
mailto:amibroker-fullfeatured@xxxxxxxxxxxxxxx
<*> To unsubscribe from this group, send an email to:
amibroker-unsubscribe@xxxxxxxxxxxxxxx
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|