PureBytes Links
Trading Reference Links
|
Joris,
Very nice!
--- In amibroker@xxxxxxxxxxxxxxx, "Joris Schuller" <jschuller@xxx>
wrote:
PercZoneLow1 = Param("PercZoneLow1",0.3,0.000001,1,0.05) ;
PercZoneHigh1 = Param("PercZoneHigh1 ",1,0.000001,1,0.05) ;
PercZoneLow2 = Param("PercZoneLow2",0.00001,0.000001,1,0.05) ;
PercZoneHigh2 = PercZoneLow1 ;
al = ATR(14);
HHVmax=HighestVisibleValue(H);
LLVMin=LowestVisibleValue(L);
almax=HighestVisibleValue(al);
alMin=LowestVisibleValue(al);
MinZ1 = ( PercZoneLow1 * HHVMax - PercZoneHigh1 * LLVMin ) / (
PercZoneLow1 - PercZoneHigh1 );
MaxZ1 = ( LLVMin - MinZ1 ) / PercZoneLow1 + MinZ1;
MinZ2 = ( PercZoneLow2 * almax- PercZoneHigh2 * alMin) / ( PercZoneLow2
- PercZoneHigh2 );
MaxZ2 = ( alMin- MinZ2 ) / PercZoneLow2 + MinZ2;
Plot( C, "C in zone", colorGrey50, styleCandle | styleOwnScale, MinZ1,
MaxZ1);
Plot( al, "ATR(14) in zone", colorRed, styleLine | styleOwnScale,MinZ2,
MaxZ2);
------------------------------------
**** 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:
amibroker-digest@xxxxxxxxxxxxxxx
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/
|