BullCharts Forum Homepage
Forum Home Forum Home > BullCharts > BullScript
  New Posts New Posts RSS Feed: Adding Fractals to BullCharts
  FAQ FAQ  Forum Search   Calendar   Register Register  Login Login

Adding Fractals to BullCharts

 Post Reply Post Reply Page  <12
Author
Message Reverse Sort Order / View First Unread Post
maximo View Drop Down
BullCharts Guru
BullCharts Guru
Avatar

Joined: 02 Sep 2006
Location: Australia
Posts: 232
Post Options Post Options   Quote maximo Quote  Post ReplyReply Direct Link To This Post Posted: 08 Oct 2010 at 8:16pm
You can move the location of the indicator dot by adjusting those numbers that multiply the H*1.008 (High) and the L*0.992 (Low).   If that's what you mean?
  Currently thats just a fraction under 1% above and below the candles/bars.
3 bar fractals are often used as well.  I'll paste that when time permits.
 
Max  


Edited by maximo - 09 Oct 2010 at 8:43am
Back to Top
Tanaka View Drop Down
Newbie
Newbie


Joined: 08 Jul 2010
Posts: 18
Post Options Post Options   Quote Tanaka Quote  Post ReplyReply Direct Link To This Post Posted: 08 Oct 2010 at 11:19am
Thanks Maximo!
 
That formula works well. Only problem is that I don't know how to have them connected to the candle sticks, it would be very convenient to have the up fractals sit just above the candles and the down fractal sit just below.
 
Once again thank you!
 
Tanaka
Back to Top
maximo View Drop Down
BullCharts Guru
BullCharts Guru
Avatar

Joined: 02 Sep 2006
Location: Australia
Posts: 232
Post Options Post Options   Quote maximo Quote  Post ReplyReply Direct Link To This Post Posted: 08 Oct 2010 at 6:02am

Heya Tenaka,

I have seen them on MetaTrader, but not on Bullcharts so here goes nothin lol.
If you can paste a link to the Bill williams method of how it works then that would
allow others to see the use of this thing :)
 
 
 

[Description="Fractal of 5 bars, Max"]

[target=price]

{ Fractal Highs }

[linestyle=points; color=blue; width=5]

If(H>ref(H,1) and H>ref(H,-1) and ref(H,-1)>ref(H,-2) and ref(H,1)>ref(H,2), H*1.008,undefined);

{ Fractal Lows }

[color=indian red]

If(L<ref(L,1) and L<ref(L,-1) and ref(L,-1)<ref(L,-2) and ref(L,1)<ref(L,2), L*0.992,undefined);

Back to Top
Tanaka View Drop Down
Newbie
Newbie


Joined: 08 Jul 2010
Posts: 18
Post Options Post Options   Quote Tanaka Quote  Post ReplyReply Direct Link To This Post Posted: 07 Oct 2010 at 3:51pm
Hi guys,

I have no programming knowledge other than cutting and pasting into the indicator builder. I have been using Bill William’s Profitunity System with my forex brokers platform and would like to add it to my BullChart. I need to add Fractals to my screen.

Fractals - 5 bars sequence where middle one has highest High / lowest Low and its preceded and followed two bars have lower highs / higher lows preceded by two lower highs and is followed by two lower highs:

{ Defining up fractal ) =

High1 := Ref(HIGH,-2);

High2 := Ref(HIGH,-1);

High3 := Ref(HIGH,0);

High4 := Ref(HIGH,1);

High5 := Ref(HIGH,2);

If((High3 > High1) AND (High3 > High2) AND (High3 > High4) AND (High3 >

High5), High3,0);

 

{Defining Low Fractal } =

Low1 := Ref(LOW,-2);

Low2 := Ref(LOW,-1);

Low3 := Ref(LOW,0);

Low4 := Ref(LOW,1);

Low5 := Ref(LOW,2);

(If((Low3 low5), Low3,0))


Anyone know how to do this? Help would be much appreciated!


Back to Top
 Post Reply Post Reply Page  <12

Forum Jump Forum Permissions View Drop Down

Bulletin Board Software by Web Wiz Forums® version 9.69
Copyright ©2001-2010 Web Wiz