PureBytes Links
Trading Reference Links
|
Anyone able to assist on this code problem?
I have a simple buy and sell rule but once in a trade in either direction
(long or short) I have a different rule to reenter same direction or to
reverse from long to short. I cant see how to code this.
Long_Entry_rule = blah blah; //initiate a change from Short to Long
direction
Short_Entry_rule = klab_klab;//initiate a change from Long to Short
direction
Long_exit_rule = hahaha; //exit a long position
Short_Entry_rule = adadad; //exit a short position
Long_Reentry_rule = afaga; //reenter a long after a completed long position
but before a short signal occurs
Short_Rentry_rule = ayhytr; //reenter a short after a completed short
position but before a long signal occurs
------------------------ Yahoo! Groups Sponsor --------------------~-->
$9.95 domain names from Yahoo!. Register anything.
http://us.click.yahoo.com/J8kdrA/y20IAA/yQLSAA/GHeqlB/TM
--------------------------------------------------------------------~->
Check AmiBroker web page at:
http://www.amibroker.com/
Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/amibroker/
<*> 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/
|