PureBytes Links
Trading Reference Links
|
Hi everybody,
I have a very simple strategy that is very easy to program with many softwares, but Amibroker. I'm sure it's possible to do it but I can't see how.
Here is my strategy (intraday, 5min):
If I reach a price P1, I go long. If I reach a price P2 (< P1), I reverse the position. If I reach a price P3 (my profit target), I sell/cover. I allow only one reversal during the day, except if the first trade is a winner (no more entry).
Example 1:
P1=2000, P2=1800, P3=+-100
P crosses 2000 -> Long. P reaches 2100 (P3) so I sell my order. End of trades for the day.
Example 2:
P1=2000, P2=1800, P3=+-100
P crosses 2000 -> Long. P doesn't reach 2100 (P3) and falls below 1800 -> Short (reversing order). 1700 (P3) is reached so I cover my order. End of trades for the day.
Thanks for your help.
------------------------------------
**** 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/
|