Australian (ASX) Stock Market Forum

Amibroker

Cheers mate,

Add this bit of code to deal with the problem you mention

Code:
|stylenorescale

Insert it directly after "stylestaircase". (the vertical line is important so make sure that's in it.)


I'll try that, thanks Wayne..
Just got taken out of my ES long trade by one hell of a down thrust, could be another interesting night..
 
Quote:
Originally Posted by wayneL
Cheers mate,

Add this bit of code to deal with the problem you mention


Code:
|stylenorescaleInsert it directly after "stylestaircase". (the vertical line is important so make sure that's in it.)
Thankyou again Wayne
How easy is that... I've only started using Amibroker in the last 3 months or so after many years of MS. I love it..:)
 
Yes and I "think" this data maybe better than Yahoo (but can't confirm).

Use the Amibroker - Metastock plugin to use this data.

Cheers.

Sir Burr.

Thanks for the reply!,
I would'nt know a 'stock' from a 'share' :confused:.......so I better start
learning fast or is it a little late at age 70 :)

westerly
 
For anyone interested stick this into the middle of the pivot code that WayneL posted to give you the option of showing midpoints- you can turn them on/off as required.

Code:
//following is for showing optional midpoints

mr1 = (bp+r1)/2;
ms1 = (bp+s1)/2;
mr2 = (r1+r2)/2;
ms2 = (s1+s2)/2;
mr3 = (r2+r3)/2;
ms3 = (s2+s3)/2;
mr4 = (r3+r4)/2;
ms4 = (s3+s4)/2;

showmidpoints = ParamToggle("show midpoints", "No|Yes");

if(showmidpoints == True)
{
Plot(mr1,"",colorYellow,styleBar|styleNoRescale);
Plot(ms1,"",colorYellow,styleBar|styleNoRescale);
Plot(mr2,"",colorYellow,styleBar|styleNoRescale);
Plot(ms2,"",colorYellow,styleBar|styleNoRescale);
Plot(mr3,"",colorYellow,styleBar|styleNoRescale);
Plot(ms3,"",colorYellow,styleBar|styleNoRescale);
Plot(mr4,"",colorYellow,styleBar|styleNoRescale);
Plot(ms4,"",colorYellow,styleBar|styleNoRescale);
}
 
I have some cool code if anyone wants it.

daily, weekly, monthly pivots, chandelier exits, hi/lo activator, plus a few others.

Just wondering if there is anyway to get the pivot lines projecting into the future? Rather than having to wait for the first day of the month/ week to be able to see the pivots.

Also, never seen r4 and s4 used before. Where did you get that and how does it effect fade plays back to r3/s3 etc?

Cheers.
 
Just wondering if there is anyway to get the pivot lines projecting into the future? Rather than having to wait for the first day of the month/ week to be able to see the pivots.

Also, never seen r4 and s4 used before. Where did you get that and how does it effect fade plays back to r3/s3 etc?

Cheers.
Chops,

Amibroker won't project indicators to the right of the current bar. Fibonacci trader is the only software I know that does that.

You certainly can make an indicator that will show the next periods pivots. Of course it will only be accurate on the last bar of the current period.

I have done this but is on another 'puter. I'll see if i can remember how I did it.

Stay tuned.
 
Monthly
Code:
Hi = HighestSince(Month()!=Ref(Month(),-1),H,1);
Lo = LowestSince(Month()!=Ref(Month(),-1),L,1);

rg = LastValue((Hi - Lo));
bp = LastValue((Hi + Lo + C)/3);
r1 = LastValue((bp*2)-Lo);
s1 = LastValue((bp*2)-Hi);
r2 = LastValue(bp + rg);
s2 = LastValue(bp - rg);
s3 = LastValue(bp - r2 + s1);
r3 = LastValue(bp + r2 - s1);
s4 = LastValue(bp - r2 + s2);
r4 = LastValue(bp + r2 - s2);

Plot(r1,"",colorPink,styleLine|styleNoRescale);
Plot(s1,"",colorPaleBlue,styleLine|styleNoRescale);
Plot(s2,"",colorTeal,styleLine|styleNoRescale);
Plot(r2,"",colorOrange,styleLine|styleNoRescale);
Plot(bp,"",colorYellow,styleLine|styleNoRescale);
Plot(s3,"",colorBlue,styleLine|styleNoRescale);
Plot(r3,"",colorRed,styleLine|styleNoRescale);
Plot(s4,"",colorIndigo,styleLine|styleNoRescale);
Plot(r4,"",colorCustom12,styleLine|styleNoRescale);
 
weekly
Code:
Hi = HighestSince(DayOfWeek()<Ref(DayOfWeek(),-1),H,1);
Lo = LowestSince(DayOfWeek()<Ref(DayOfWeek(),-1),L,1);

rg = LastValue((Hi - Lo));
bp = LastValue((Hi + Lo + C)/3);
r1 = LastValue((bp*2)-Lo);
s1 = LastValue((bp*2)-Hi);
r2 = LastValue(bp + rg);
s2 = LastValue(bp - rg);
s3 = LastValue(bp - r2 + s1);
r3 = LastValue(bp + r2 - s1);
s4 = LastValue(bp - r2 + s2);
r4 = LastValue(bp + r2 - s2);


Plot(r1,"",colorCustom12,styleDots|styleNoRescale);
Plot(s1,"",colorBlue,styleDots|styleNoRescale);
Plot(s2,"",colorBlue,styleDots|styleNoRescale);
Plot(r2,"",colorCustom12,styleDots|styleNoRescale);
Plot(bp,"",colorRed,styleDots|styleNoRescale);
Plot(s3,"",colorBlue,styleDots|styleNoRescale);
Plot(r3,"",colorCustom12,styleDots|styleNoRescale);
Plot(s4,"",colorBlue,styleDots|styleNoRescale);
Plot(r4,"",colorCustom12,styleDots|styleNoRescale);

Crude but does the job
 
I am surprised there is no seriously dedicated Point and Figure charting built into Amibroker. I have looked at the layout of the codes available in AFL library.
 
Top