Open=high  [SOLVED]

Questions about MultiCharts and user contributed studies.
bombaybom
Posts: 12
Joined: 13 Nov 2014
Has thanked: 7 times

Open=high

Postby bombaybom » 27 Oct 2016

Hi,

I'm trying to identify candlebars where the openbar = high. (The image)

But I need some guidance



Code: Select all

If open = high and close < open then begin
Attachments
bar.png
(2.11 KiB) Downloaded 744 times

User avatar
TJ
Posts: 7266
Joined: 29 Aug 2006
Location: Global Citizen
Has thanked: 992 times
Been thanked: 2063 times

Re: Open=high

Postby TJ » 27 Oct 2016

Hi,

I'm trying to identify candlebars where the openbar = high. (The image)

But I need some guidance



Code: Select all

If open = high and close < open then begin
What guidance do you need?

Your code has already identified o=h. What else do you need?

bombaybom
Posts: 12
Joined: 13 Nov 2014
Has thanked: 7 times

Re: Open=high

Postby bombaybom » 27 Oct 2016

Hi TJ,

Strange,

I did this code to see it on the heikin-ashi chart. But it just looks random.

Code: Select all

If open = high and close < open then begin
PlotPB (High, Low, High, Low, "test", Yellow, default,3);
End;

User avatar
TJ
Posts: 7266
Joined: 29 Aug 2006
Location: Global Citizen
Has thanked: 992 times
Been thanked: 2063 times

Re: Open=high

Postby TJ » 27 Oct 2016

Hi TJ,

Strange,

I did this code to see it on the heikin-ashi chart. But it just looks random.

Code: Select all

If open = high and close < open then begin
PlotPB (High, Low, High, Low, "test", Yellow, default,3);
End;
When you ask for help,
you have to give all the pertinent details,
otherwise nobody can help you.

What do you mean by "random"?
Do you have a printout?
Do you have a screenshot?

What are you actually looking for????
What are you expecting?
What are you trying to achieve?

bombaybom
Posts: 12
Joined: 13 Nov 2014
Has thanked: 7 times

Re: Open=high

Postby bombaybom » 27 Oct 2016

My goal is to have a piece of code that identify these bars were open = High

Those bars I have marked with a white arrow in the image.

But the code is just painting one yellow.

What I was hoping was that the code would paint all bars were open = high
Attachments
bar2.png
(3.32 KiB) Downloaded 745 times

User avatar
bensat
Posts: 331
Joined: 04 Oct 2014
Has thanked: 46 times
Been thanked: 104 times

Re: Open=high

Postby bensat » 27 Oct 2016

@Bombaybom

Do you realize or are you aware that HA-bars are build differently compared to price bars ?

May you would like to study the base of HA-bars first. There are tons of articles in the internet.

Regards.

Ben

bombaybom
Posts: 12
Joined: 13 Nov 2014
Has thanked: 7 times

Re: Open=high  [SOLVED]

Postby bombaybom » 28 Oct 2016

Hi Ben,

I think u are right!

Tank you for that input.

Damit, I thought it was a simple mistake from my end.


I thought it would be easy to produce a sound when such a bar appeared...

Have nice weekend!


Return to “MultiCharts”