PureBytes Links
Trading Reference Links
|
Dear TJ,
I'm trying out the new BuyPrice SellPrice functions.
Can you tell me what is wrong with the following, its not a system I'm just
trying it out and am trying out a stop.
Can it be used in this way? I think if Amibroker can
remember the buy price and set stops based on it, and have postion sizing based
on any user function it's money management would be very much
improve.
Thanks anyone.
Brook
Buy = <FONT color=#0000ff face="Courier New"
size=1>Cross<FONT color=#000000 face="Courier New"
size=1>(Close,<FONT color=#0000ff face="Courier New"
size=1>EMA<FONT color=#000000 face="Courier New"
size=1>(Close,<FONT color=#ff00ff face="Courier New"
size=1>45));
SellStop = BuyPrice-<FONT color=#0000ff face="Courier New"
size=1>ATR(<FONT
color=#ff00ff face="Courier New" size=1>45<FONT color=#000000
face="Courier New" size=1>)/<FONT color=#ff00ff face="Courier New"
size=1>2;
Sell = <FONT color=#0000ff face="Courier New"
size=1>Cross(
SellPrice,Sellstop);
Buy = <FONT color=#0000ff face="Courier New"
size=1>ExRem( Buy,
Sell );
Sell = <FONT color=#0000ff face="Courier New"
size=1>ExRem( Sell,
Buy );
|