PureBytes Links
Trading Reference Links
|
I just can't get my mind around this.
All I want to do is run an ordinary, plain-vanilla system test where
I scale-in to up to 3 positions in the same stock, using 1/3 of my
equity each time a "buy" condition is met, exiting all 3 positions on
the same "sell" condition. I've defined the 3 conditions under which
I'd buy, and the sell condition:
Buy=(Cond3 AND Ref(Cond3,-1)==0) OR (Cond1A AND Ref(Cond3,-2)==0) OR
(Cond1B AND Ref(Cond3,-3)==0);
Sell=Cond3 == 0 AND Ref(Cond3,-1)==1;
Now...what?
e = Equity(1);
IIF(Buy,sigScaleIn,0);
PositionSize=.33*e;
????
I've read, but don't understand, the "Help" section on pyramiding,
and I'm a little embarrassed that I can't figure out what seems like
a common, straightforward problem. Or did I?
If anyone could give me a little guidance as to whether I'm on the
right track or not, I'd appreciate it. TIA.
Luck to all,
Sebastian
------------------------ Yahoo! Groups Sponsor --------------------~-->
Try Online Currency Trading with GFT. Free 50K Demo. Trade
24 Hours. Commission-Free.
http://us.click.yahoo.com/RvFikB/9M2KAA/U1CZAA/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 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/
<*> 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/
|