PureBytes Links
Trading Reference Links
|
hello,
with a simple system like that one
Buy= DayOfWeek()==5;
Sell=0;
BuyPrice= C ;
ApplyStop (stopTypeTrailing, stopModePoint,3*ATR(10) ,True,True) ;
I suppose that the trailing price must be :
Q1: Plot(HighestSince(Buy,H-3*ATR(10)),"",colorBlue,1);?????
Q2: and it must be activated when Low <= trailing price.?????
I CAN CHECK IT with
Title=Name() + " ApplyStop" ;
Buy= DayOfWeek()==5;
Sell=0;
BuyPrice= C ;
ApplyStop (stopTypeTrailing, stopModePoint,3*ATR(10) ,True,True) ;
Plot(Close,"close",colorBlack,64);
Equity(1);
PlotShapes(IIf(Buy,
shapeUpArrow,shapeNone),colorGreen,0,L,-10);
PlotShapes(IIf(Sell,
shapeDownArrow,shapeNone),colorRed,0,H,-10);
Plot(HighestSince(Buy,H-3*ATR(10)),"",colorBlue,1);
------------------------ Yahoo! Groups Sponsor ---------------------~-->
Buy Ink Cartridges or Refill Kits for your HP, Epson, Canon or Lexmark
Printer at MyInks.com. Free s/h on orders $50 or more to the US & Canada.
http://www.c1tracking.com/l.asp?cid=5511
http://us.click.yahoo.com/mOAaAA/3exGAA/qnsNAA/GHeqlB/TM
---------------------------------------------------------------------~->
Send BUG REPORTS to bugs@xxxxxxxxxxxxx
Send SUGGESTIONS to suggest@xxxxxxxxxxxxx
-----------------------------------------
Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx
(Web page: http://groups.yahoo.com/group/amiquote/messages/)
--------------------------------------------
Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html
Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
|