PureBytes Links
Trading Reference Links
|
Thanks Graham & Herman !
Here here !, I also did not realize the handy Equity features:
I did manage to get it going like this:
Low1= ValueWhen( stopTypeProfit > 0,LLV(L,BarsSince(Buy)));
It seems to be working fine, but the Equity thing plugs more than one
hole, will try and figure that out also !
Thanks once more you guys :-)
May the treand be with you !
Louw
--- In amibroker@xxxxxxxxxxxxxxx, "Graham" <gkavanagh@xxxx> wrote:
> Thanks Herman, I hadn't realised equity() did more than find the
current
> capital.
>
>
>
> Cheers,
> Graham
> http://e-wire.net.au/~eb_kavan/
>
> -----Original Message-----
> From: Herman van den Bergen [mailto:psytek@x...]
> Sent: Sunday, July 04, 2004 8:18 PM
> To: amibroker@xxxxxxxxxxxxxxx
> Subject: RE: [amibroker] Detecting Cause Of Trade EXIT Signal -
Help !
>
>
>
> From a previous post:
>
> 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
>
>
>
> h
>
> -----Original Message-----
> From: Graham [mailto:gkavanagh@x...]
> Sent: Sunday, July 04, 2004 7:53 AM
> To: amibroker@xxxxxxxxxxxxxxx
> Subject: RE: [amibroker] Detecting Cause Of Trade EXIT Signal -
Help !
>
> Prob easier to just say Sell>0
>
> Cheers,
> Graham
> http://e-wire.net.au/~eb_kavan/
>
> -----Original Message-----
> From: Graham [mailto:gkavanagh@x...]
> Sent: Sunday, July 04, 2004 7:35 PM
> To: amibroker@xxxxxxxxxxxxxxx
> Subject: RE: [amibroker] Detecting Cause Of Trade EXIT Signal -
Help !
>
> I think applystop gives Sell values of 2,3,4 etc
> So just add in Sell==1 or sell==2 etc.
>
> Cheers,
> Graham
> http://e-wire.net.au/~eb_kavan/
>
> -----Original Message-----
> From: louwcoetzer [mailto:lcoetzer@x...]
> Sent: Sunday, July 04, 2004 7:02 PM
> To: amibroker@xxxxxxxxxxxxxxx
> Subject: [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,
>
> Louw
>
>
>
>
>
> Check AmiBroker web page at:
> http://www.amibroker.com/
>
> Check group FAQ at:
> http://groups.yahoo.com/group/amibroker/files/groupfaq.html
> Yahoo! Groups Links
>
>
>
>
>
>
>
>
> Check AmiBroker web page at:
> http://www.amibroker.com/
>
> Check group FAQ at:
> http://groups.yahoo.com/group/amibroker/files/groupfaq.html
> Yahoo! Groups Links
>
>
>
>
>
>
>
> Check AmiBroker web page at:
> http://www.amibroker.com/
>
> Check group FAQ at:
> 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
>
>
<http://us.ard.yahoo.com/SIG=129kdhq6f/M=295196.4901138.6071305.300117
6/D=gr
>
oups/S=1705632198:HM/EXP=1089029900/A=2128215/R=0/SIG=10se96mf6/*http:
/compa
> nion.yahoo.com> click here
>
>
>
> <http://us.adserver.yahoo.com/l?
M=295196.4901138.6071305.3001176/D=groups/S=
> :HM/A=2128215/rand=205602506>
>
>
>
>
> _____
>
>
> 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
> <mailto:amibroker-unsubscribe@xxxxxxxxxxxxxxx?subject=Unsubscribe>
>
>
> * Your use of Yahoo! Groups is subject to the Yahoo! Terms
of
> Service <http://docs.yahoo.com/info/terms/> .
------------------------ Yahoo! Groups Sponsor --------------------~-->
Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar.
Now with Pop-Up Blocker. Get it for free!
http://us.click.yahoo.com/L5YrjA/eSIIAA/yQLSAA/GHeqlB/TM
--------------------------------------------------------------------~->
Check AmiBroker web page at:
http://www.amibroker.com/
Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html
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:
http://docs.yahoo.com/info/terms/
|