PureBytes Links
Trading Reference Links
|
Anyone want to give this newbie a hand with coding ApplyStops?
I can't seem to get Amibroker to exit at the right place.
What i'm using is this:
Buy = xxx;
Sell = ApplyStop(0,2,1000,1);
PlotShapes( IIf( Sell, shapeCircle, shapeNone ), colorGreen );
As you can see, I have a Buy condition (xxx = secret :p) and a
randomly selected stop for Sell just so I can test out the ApplyStop
code.
PlotShapes would plot a green circle where the Sell/Applystop would
be triggered.
You can see the point value of the stop is set to 1000pts, which
means the stop shouldn't be hit at all on ES daily bars.
Unfortunately I have green circles show up on the same bar or 1 bar
after the entry. >_<
Can someone please post Applystops + Visual confirmation of stops
codes that do work so I can study where I went wrong? T_T
Thanks a lot!
------------------------ Yahoo! Groups Sponsor --------------------~-->
Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar.
Now with Pop-Up Blocker. Get it for free!
http://us.click.yahoo.com/L5YrjA/eSIIAA/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/
|