PureBytes Links
Trading Reference Links
|
Hi,
This one will do the job:
Buy = Low==LLV(L,6) AND Close > Ref(Close,-1);
Sell = High == HHV(H,6) AND Close < Ref(Close,-1);
Plot(C,"C",colorLightBlue,styleBar);
PlotShapes(Buy*shapeUpArrow,colorGreen,0,L,-12);
PlotShapes(Sell*shapeDownArrow,colorRed,0,H,-12);
Thomas
www.patternexplorer.com
From: amibroker@xxxxxxxxxxxxxxx [mailto:amibroker@xxxxxxxxxxxxxxx] On Behalf
Of mravie7
Sent: Wednesday, March 07, 2007 7:36 AM
To: amibroker@xxxxxxxxxxxxxxx
Subject: [amibroker] HELP IN WRITING REVERSAL FORMULA
Hi,
Can someone help in writing a formula for 'Key Reversals', where
BUY - WHEN THE LOW OF THE CURRENT BAR IS LOWER THAN THE PREVIOUS 6 - 10
BARS, AND CLOSE OF THIS CURRENT BAR IS ABOVE THE CLOSE OF THE BAR
BEFORE THIS ONE.
SELL - WHEN THE HIGH OF THE CURRENT BAR IS HIGHER THAN THE PREVIOUS 6 -
10 BARS, AND THE CLOSE IS BELOW THE CLOSE OF THE THE BAR PREVIOUS TO
THIS ONE.
BUY AND SELL ARROWS - GREEN AND RED IN COLOUR
THIS IS THE BEST I COULD DO TO DESCRIBE. YOU MAY CHANGE OR ADD ANY
PARAMETERES YOU FEEL IS GOOD.
MANY THANKS
RAVI
------------------------ Yahoo! Groups Sponsor --------------------~-->
Check out the new improvements in Yahoo! Groups email.
http://us.click.yahoo.com/4It09A/fOaOAA/yQLSAA/GHeqlB/TM
--------------------------------------------------------------------~->
Please note that this group is for discussion between users only.
To get support from AmiBroker please send an e-mail directly to
SUPPORT {at} amibroker.com
For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/
For other support material please check also:
http://www.amibroker.com/support.html
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/
|