PureBytes Links
Trading Reference Links
|
dear all,
i am trying to test intraday trading system with simple break out entry rule. but want to exit in steps as follow. can some one help me to code exit in following manner.
entry rule : h > hhv of last 20 bars after 13.30 pm.
stop loss : (at time of entry) previous 3 bar low.
exit 1 : if price moves by 2 times atr(14) value than trail first
exit with high - atr(14) for 50 % of positions.
exit 2 : if exit 1 is true, than trail remaining position by
privious 3 bar low OR stop loss value which ever is high.
exit 3 : if market near closing time (ie 15.25 pm)
note atr(14) value for this purpose is value at time 13.30.(ie stationary figure).
i am very weak at programming help in this area will be highly apriciated.
asit.
------------------------------------
**** 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/
|