PureBytes Links
Trading Reference Links
|
hi guys.
I need help. I will like to run a scan/exploration on an AFL titled "BREAKOUTS". I reduced the parameters to (lookback= 10) & (Shift=5). I need it to give me "H1'' & "L1" points prices of each stocks and perhaps a BUY/SELL within these regions.
Thanks I will really appreciate.
_SECTION_BEGIN("BREAK OUTS");
H0=H;
L0=L;
C0=C;
O0=O;
Lookback=Param("LookBack",22,10,50,1); // Default for interday commodity currency trading
shift=Param("Shift", 11,1,50,1); // ?
x0=LastValue(Cum(1));
x1=x0-shift;
H=Ref(H,-shift+1);
L=Ref(L,-shift+1);
H1=LastValue(Ref(HHV(H,Lookback),-1));
L1=LastValue(Ref(LLV(L,Lookback),-1));
Plot(H1,"H1",colorYellow);
Plot(L1,"L1",colorYellow);
H=H0;L=L0;C=C0;O=O0;
up=Cross(H,H1) AND Cum(1)>x1;
dn=Cross(L1,L) AND Cum(1)>x1;
Plot(C,"Close",IIf(Cum(1)>x1-Lookback AND Cum(1)<=x1,colorBlue,IIf
(Up,colorBrightGreen,IIf( Dn,colorRed,colorBlack))),64);
PlotShapes(shapeDownArrow*(Cum(1)==x1+1),colorBlue);
_SECTION_END();
------------------------------------
**** 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/
|