jagg

Active Trader
Jun 22, 2018
24
9
44
48
Another feature addition could be to add a parameter to show/hide the TPO profile (histogram) at all?
Let's say I want only see the VAH/VAL and POC - but not the profile itself (with its thousands of rectangles ;))

Code:
90c91
---
> input bool           ShowHistogram            = true;     // Show TPO profile/histogram?
1095c1096,1097
<                 PutDot(price, sessionstart, range, bar - sessionstart, rectangle_prefix);
---
>                 if (ShowHistogram)
>                    PutDot(price, sessionstart, range, bar - sessionstart, rectangle_prefix);
1104c1106
<         if (ShowSinglePrint)
---
>         if ((ShowSinglePrint) && (ShowHistogram))
 
  • 👍
Reactions: zenaidamcrae and Enivid

Enivid

Administrator
Staff member
Nov 30, 2008
19,240
1,507
144
Odesa
www.earnforex.com
You can attain something like that now by setting the color scheme to single color and setting the single color to clrNone. However, adding a dedicated input parameter could be beneficial for improved performance as this would reduce the number of chart objects dramatically.
 

jagg

Active Trader
Jun 22, 2018
24
9
44
48
You can attain something like that now by setting the color scheme to single color and setting the single color to clrNone. However, adding a dedicated input parameter could be beneficial for improved performance as this would reduce the number of chart objects dramatically.
yes - clrNONE is ok for the visual part but nevertheless the hundreds/thousands of rectangle objects get created (in the background).
 

noobzai202

Trader
Jul 29, 2020
7
0
17
23
You can attain something like that now by setting the color scheme to single color and setting the single color to clrNone. However, adding a dedicated input parameter could be beneficial for improved performance as this would reduce the number of chart objects dramatically.
Hey Enivid, firstly I want to thank you for this indicator its great! But i have a few suggestions to make it even more perfect. I am looking for a feature thats available in Sierra Chart which is merging the value areas or the profile. For example, day 1 and day 2 has overlapping value areas so u merge them up to have a combined value area. It will be great! Secondly, I want to ask if the profile is available in TPO letters?
 
Last edited:

Enivid

Administrator
Staff member
Nov 30, 2008
19,240
1,507
144
Odesa
www.earnforex.com
For example, day 1 and day 2 has overlapping value areas so u merge them up to have a combined value area.
This should be attainable with rectangle sessions.

Secondly, I want to ask if the profile is available is TPO letters?
No, and I don't think I will ever do it.
 

noobzai202

Trader
Jul 29, 2020
7
0
17
23
This should be attainable with rectangle sessions.


No, and I don't think I will ever do it.
Ahh why dont u wanna do it haha because with TPO letters you can know whether its a strong high or weak high. Regarding rectangle sessions, so when i see overlapping value areas, i just use the tool to highlight the parts that are overlapping then it will merge them?
 

Enivid

Administrator
Staff member
Nov 30, 2008
19,240
1,507
144
Odesa
www.earnforex.com
Ahh why dont u wanna do it haha because with TPO letters you can know whether its a strong high or weak high.
It would require rewriting the code so that the indicator works with a fixed scale chart. This is like coding it from scratch.

Regarding rectangle sessions, so when i see overlapping value areas, i just use the tool to highlight the parts that are overlapping then it will merge them?

I am not quite sure what you mean by overlapping value areas, but if you switch MP to Rectangle session (or just add a second one with Rectangle session type), you will be able to draw sessions that span any number of bars and price points.
 

noobzai202

Trader
Jul 29, 2020
7
0
17
23
It would require rewriting the code so that the indicator works with a fixed scale chart. This is like coding it from scratch.



I am not quite sure what you mean by overlapping value areas, but if you switch MP to Rectangle session (or just add a second one with Rectangle session type), you will be able to draw sessions that span any number of bars and price points.
For example this, from the first capture u can see 4 days profile the value areas overlap with each other so we can combine them into one composite structure as seen in capture 2. Do u understand me now?
 

Attachments

  • Capture 2.PNG
    Capture 2.PNG
    73.2 KB · Views: 14
  • Capture.PNG
    Capture.PNG
    69 KB · Views: 14

jagg

Active Trader
Jun 22, 2018
24
9
44
48
Simply add onther MarketProfile indicator variant to your chart > set it to "Rectangle" Mode and draw a rectangle (named "MPR") over your mentioned 4 day period

1596103392156.png
 

Warray

Newbie
Jul 30, 2020
2
0
1
46
Thanks Enivid for the great indicator...I am not good in mql programming to edit the source codes of the indicator to suit my preference...if someone here can add the necessary codes to make the volume histogram start from right to left especially for rectangle mode its would be very appreciated..or someone can give me the codes to add in also would be great.
 

Enivid

Administrator
Staff member
Nov 30, 2008
19,240
1,507
144
Odesa
www.earnforex.com
Thanks Enivid for the great indicator...I am not good in mql programming to edit the source codes of the indicator to suit my preference...if someone here can add the necessary codes to make the volume histogram start from right to left especially for rectangle mode its would be very appreciated..or someone can give me the codes to add in also would be great.

That isn't a simple change. I will consider to add that as an option in the next version. What happens to other MP elements in a right-to-left version - rays and value printouts?
 

Warray

Newbie
Jul 30, 2020
2
0
1
46
That isn't a simple change. I will consider to add that as an option in the next version. What happens to other MP elements in a right-to-left version - rays and value printouts?
Thanks Enivid for your attention. The existing element of the MP just work fine..sometimes I just need to clear my chart vision for other price behaviour element to be evaluated ..so I think by putting the histogram far on right to left would be good idea for that purpose.
 

emc320

Trader
Dec 5, 2018
5
1
19
44
Hi Envid, AWESOME indicator, thank you for your work on this.

Would you be willing to pair a consolidation box finder indicator with the MarketProfile indicator?
I have been using it in conjunction with this consolidation finder that I adjusted to have box output names "MPR".
It helps me find consolidation zones that are not strictly in any session and are areas of magnets and rebound.
Ideally the Rays would extend out until touched by price but I can't get the 2 indicators to
1. reliably leave the market profile on at all times (it flickers then comes off)
2. reliably leave the rays to extend (flickers once then comes off)
 

Attachments

  • MPRex.jpg
    MPRex.jpg
    82.1 KB · Views: 26
  • sidewaysMPR.mq4
    7.9 KB · Views: 12
  • SidewaysDetector.mq4
    7.9 KB · Views: 10
  • SidewaysDetector.txt
    7.9 KB · Views: 10

Enivid

Administrator
Staff member
Nov 30, 2008
19,240
1,507
144
Odesa
www.earnforex.com
@emc320 This happens because your indicator calls RemoveObjects() on each new tick. It is best to rewrite that indicator so as to remove objects when this is really needed. However, as a quick workaround to this problem, you can just change the prefix in that indicator from "MPR" to "MPRS" (or something else). It will stop messing with the MarketProfile objects then.