PureBytes Links
Trading Reference Links
|
Just a number is all.
Maybe you could use this instead of the HHV
HighestSince(Buy,C)-TrailStopAmount
Cheers,
Graham
http://groups.msn.com/asxsharetrading
http://groups.msn.com/fmsaustralia
-----Original Message-----
From: gosub283 [mailto:gosub283@xxxxxxxxx]
Sent: Sunday, 28 December 2003 8:39 AM
To: amibroker@xxxxxxxxxxxxxxx
Subject: [amibroker] Re: Plotting help please - (Graham)
Hi Graham,
Thanks a lot for the help with the stop loss plot. :-)
Question:
=========
In your code "Plot( hhv( C - TrailStopAmount, 10)....",
how did you arrive at the HHV value of 10 ??
I ask because I am trying the graphically depict
the stop-line in my trading system when using the
ApplyStop() function. This function does not specify
a time period.
eg:
ApplyStop( 2, 2, TrailStopAmount, 1 );
Therfore, I don't know if 10 is the right number.??
Can you shed any light on this ??
Anyone ??
Again, thanks for your help so far...
Gosub283
--- In amibroker@xxxxxxxxxxxxxxx, "Graham" <gkavanagh@xxxx> wrote:
> Here is an example of one way to show it
>
> //Plot the Training Stop Line
> Plot( hhv( C - TrailStopAmount, 10) ,"StopLine",colorRed,
styleThick);
>
> Cheers,
> Graham
> http://groups.msn.com/asxsharetrading
> http://groups.msn.com/fmsaustralia
>
> -----Original Message-----
> From: gosub283 [mailto:gosub283@x...]
> Sent: Saturday, 27 December 2003 3:28 AM
> To: amibroker@xxxxxxxxxxxxxxx
> Subject: [amibroker] Potting help please
>
>
> Hi,
>
> I am trying to plot a trailing stop under
> the price bars so that I can visually see
> where the stops are triggering.
> My system uses the TrailStop() function
> which apparently adjusts upwards only on
> "UP" days but does not adjust on "Down" days.
> I want to see this in action :-)
> Is it possible to plot an AFL function value ?
> Can anyone help with this please.
> Here's what I have so far....
>
> //Set the triling stop amount to 2 x ATR(14)
> TrailStopAmount = 3* ATR(14);
>
> //Set the trailing stop to 3 time ATR()
> ApplyStop( 2, 2, TrailStopAmount, 1 );
>
> //Plot the price data
> Plot(Close,"ClosePrice", colorBlack, styleBar);
>
> //Plot the Training Stop Line
> Plot( ??????? ,"StopLine",colorRed, styleThick);
>
>
> Thanks,
> Gosub283
>
>
>
>
>
>
>
>
> Send BUG REPORTS to bugs@xxxx
> Send SUGGESTIONS to suggest@xxxx
> -----------------------------------------
> 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
>
> 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/
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
------------------------ 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
---------------------------------------------------------------------~->
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/
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
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/
|