PureBytes Links
Trading Reference Links
|
You probably need to use Preferences/Charting/Blank bars in right margin (depending on cycle length)
to give yourself enough space if you need a big value for Displace.
Howard B wrote:
> Hi Jan --
>
> I may not be answering exactly the question you are asking, but here is
> an example of plotting the value of an indicator to the right of the
> most recent price data. If this technique works for you, we will all
> appreciate seeing the code that results.
>
> //------------------------------------------
>
> // PivotPoints.afl
> //
> // Traditional pivot points.
> // Thought by some to indicate levels of support
> // and resistance.
> //R2 = P + (H - L) = P + (R1 - S1)
> //R1 = (P x 2) - L
> //P = (H + L + C) / 3
> //S1 = (P x 2) - H
> //S2 = P - (H - L) = P - (R1 - S1)
> P = (H + L + C) / 3;
> R1 = (P * 2) - L;
> S1 = (P * 2) - H;
> R2 = P + (R1 - S1); // P + (H - L)
> S2 = P - (R1 - S1); // P - (H - L)
> Plot(C,"C",colorBlack,styleCandle);
> // Displace the plot of the pivot points one bar
> // to the right.
> // Pivot points are based on the current bar,
> // but are thought to provide indication of
> // support and resistance for the next bar.
> //
> Displace=1;
> Plot(R2,"R2",colorRed,styleLine,0,0,Displace);
> Plot(R1,"R1",colorPink,styleLine,0,0,Displace);
> Plot(P,"P",colorBlue,styleLine,0,0,Displace);
> Plot(S1,"S1",colorPaleGreen,styleLine,0,0,Displace);
> Plot(S2,"S2",colorGreen,styleLine,0,0,Displace);
> //Figure 8.5 Pivot Points
>
> //------------------------------------------
>
> Thanks,
> Howard
> www.quantitativetradingsystems.com
> <http://www.quantitativetradingsystems.com>
>
> On Wed, Mar 12, 2008 at 1:56 AM, Jan Malmberg <jan@xxxxxxxxx
> <mailto:jan@xxxxxxxxx>> wrote:
>
> Hello Tomasz and the lot of you,
>
>
>
> I use a few cycles that I find interesting in my Elliott Wave-work,
> aside from indicators and such things. Most of these cycles have few
> turning dates, so I usually put them in a symbol and plot the symbol
> in an indicator field.
>
>
>
> Here's my question:
>
>
>
> Is it possible to display the future data of the cycle-symbol
> without the future data for the index? For example, in the price
> field I would plot OMXS30 and in the indicator field, I would then
> like to display the future values of the cycle, which would assist
> the long term analysis. That's my question, thank you in advance for
> any assistance.
>
>
>
> Best regards,
>
> Jan Malmberg
>
>
>
Please note that this group is for discussion between users only.
To get support from AmiBroker please send an e-mail directly to
SUPPORT {at} amibroker.com
For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/
For other support material please check also:
http://www.amibroker.com/support.html
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/amibroker/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/amibroker/join
(Yahoo! ID required)
<*> To change settings via email:
mailto:amibroker-digest@xxxxxxxxxxxxxxx
mailto:amibroker-fullfeatured@xxxxxxxxxxxxxxx
<*> 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/
|