[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[amibroker] Line Studies



PureBytes Links

Trading Reference Links

Just starting on line studies...
 
Code below was published some time ago ...don't know by who...
 
Can not get any results either with scan or exploration.
 
Have defined "RE" and "SU" studies on default layer.
 
Is it supposed to work from AA, within an indicator or both?
 
Anyone see a problem with the code?
 
Thanks
 
Ara
 
// File: EXP - Line Studies
// A scan will detect interaction with manually drawn trendline
 
Plot(Close,"",colorBlack,styleCandle);
Buy = 0;

L_UP = Cross(Study("RE"),Low);
L_ST = Cross(Study("SU"),Low);

Shape1 = IIf(L_UP,shapeDownArrow,shapeNone);
Shape2 = IIf(L_ST,shapeDownArrow,shapeNone);
 
PlotShapes(shape1,colorRed,0,H,-20);
PlotShapes(shape2,colorYellow,0,H,-20 );
Filter = L_UP OR L_ST;
AddColumn(Close,"Close");


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