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

[amibroker] Re: A few questions for QP2 users



PureBytes Links

Trading Reference Links

Stop return 
values
Using Equity( 1 ) evaluates 
stops and writes BACK
signals to sell/cover arrays. 
Equity(1) also removes
all extra 
signals.
Depending on kind of the stop 
various values
are written back to sell/cover 
array to enable you
to distinguish if given signal 
was generated by regular
rule or by 
stop.
1 - regular 
exit
2 - max. 
loss
3 - profit 
target
4 - 
trailing
5 - ruin 
stop
6 - n-bar 
stop
 
<FONT face=Arial color=#0000ff 
size=2>h

  <FONT face=Tahoma 
  size=2>-----Original Message-----From: Graham 
  [mailto:gkavanagh@xxxxxxxxxxxxx]Sent: Sunday, July 04, 2004 7:53 
  AMTo: amibroker@xxxxxxxxxxxxxxxSubject: RE: [amibroker] 
  Detecting Cause Of Trade EXIT Signal - Help !Prob 
  easier to just say Sell>0Cheers,Graham<A 
  href="">http://e-wire.net.au/~eb_kavan/-----Original 
  Message-----From: Graham [mailto:gkavanagh@xxxxxxxxxxxxx] Sent: 
  Sunday, July 04, 2004 7:35 PMTo: amibroker@xxxxxxxxxxxxxxxSubject: RE: 
  [amibroker] Detecting Cause Of Trade EXIT Signal - Help !I think 
  applystop gives Sell values of 2,3,4 etcSo just add in Sell==1 or sell==2 
  etc.Cheers,Graham<A 
  href="">http://e-wire.net.au/~eb_kavan/-----Original 
  Message-----From: louwcoetzer [mailto:lcoetzer@xxxxxxxxxxxx] Sent: 
  Sunday, July 04, 2004 7:02 PMTo: amibroker@xxxxxxxxxxxxxxxSubject: 
  [amibroker] Detecting Cause Of Trade EXIT Signal - Help !Hallo there 
  all ;-)With Graham's help, I managed to detect the Lowest Low value 
  the bars made from Entry to Exit using something like this:Lows = 
  ValueWhen(Sell,LLV(L,BarsSince(Buy)));The problem I now have to deal 
  with is that this only catches trades that were opened and closed by the 
  BUY & SELL functions.  How do I also detect the ones that were 
  closed due to the triggering of the APPLYSTOP function ???Thanks 
  in advance !Kind regards,LouwCheck 
  AmiBroker web page at:<A 
  href="">http://www.amibroker.com/Check 
  group FAQ at:<A 
  href="">http://groups.yahoo.com/group/amibroker/files/groupfaq.html 
  Yahoo! Groups LinksCheck AmiBroker web 
  page at:<A 
  href="">http://www.amibroker.com/Check 
  group FAQ at:<A 
  href="">http://groups.yahoo.com/group/amibroker/files/groupfaq.html 
  Yahoo! Groups LinksCheck 
  AmiBroker web page at:<A 
  href="">http://www.amibroker.com/Check 
  group FAQ at: <A 
  href="">http://groups.yahoo.com/group/amibroker/files/groupfaq.html 
  


Check AmiBroker web page at:
http://www.amibroker.com/

Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html








Yahoo! Groups Sponsor


  ADVERTISEMENT 












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 the Yahoo! Terms of Service.