PureBytes Links
Trading Reference Links
|
I have a simple visual indicator that shows a red or green arrow on
the price chart for buy or sell, BUT I'm not getting the multiple
stops to activate a sell, therfore producing a red down arrow. What
am I missing here ?
Buy = Cross( Close, EMA(Close, 35) );
Sell = Cross( EMA(Close,150), C );
Plot( Close, "C", colorWhite, styleLine);
Plot( EMA(Close,35), "EMA-35", colorRed, styleLine);
Plot( EMA(Close,150), "EMA-150", colorRed, styleLine);
ApplyStop( stopTypeLoss, stopModePercent, 5, 0);
ApplyStop( stopTypeLoss, stopModeRisk, 10, 0);
ApplyStop( stopTypeProfit, stopModePercent, 5, 0);
ApplyStop( stopTypeProfit, stopModeRisk, 10, 0);
ApplyStop( stopTypeTrailing, stopModePercent, 5, 0);
ApplyStop( stopTypeTrailing, stopModeRisk, 10, 0);
ShapeB = IIf(Buy,shapeUpArrow,shapeNone);
ShapeS = IIf(Sell,shapeDownArrow,shapeNone);
PlotShapes( ShapeB, IIf( Buy, colorGreen, Null));
PlotShapes( ShapeS, IIf( Sell, colorRed, Null));
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 NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/
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/
<*> 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/
|