How does Ichimoku Indicator Achieve This Smooth Shading?

Back to topics list To post a new topic, please log in or register
avatar
71
dazamate 2016.07.28 07:40
 

I would like to shade the area between two emas. I know there has been some discussion on this, but I can't find the right solution...

I just bought a dell alienware, and it has a 4k screen. So I thought I would mention that I am dealing with high resolution.

However, there are two ichimoku inidators; One under the trend tree tab, and one just sitting in the root list. 

Here is what the ichimoku cloud looks like when you use scale 5 width - this is using the ichimoku indicator under the 'trends' tree under indicators. The one where you can't see the source code :|

 

 

 This is what the chart looks like...

 

 

See how the cloud is filled nice and smoothly.

Now the other ichimoku indicator sitting in the indicator tree root, we can view that source code.

There have been suggestions on the forum to use STYLE_SOLID to get the fill effect.

Because I have a large res screen, I need to pump it up to such a high width using the following... 

SetIndexStyle(2,DRAW_HISTOGRAM,STYLE_SOLID,17);

 

It take the input of 17 to finally fill the space... and this is what I end up with.,,

 

The fill effect looks disgusting and cheap.

Do you guys know how to get the proper smoothing effect from the first example. There obviously is a way to do it if the standard ichimoku can do it.

Thanks very much. 

 

 

 

 

avatar
164
rod178 2016.07.30 18:29 #
 
dazamate:

I would like to shade the area between two emas. I know there has been some discussion on this, but I can't find the right solution...

I just bought a dell alienware, and it has a 4k screen. So I thought I would mention that I am dealing with high resolution.

However, there are two ichimoku inidators; One under the trend tree tab, and one just sitting in the root list. 

Here is what the ichimoku cloud looks like when you use scale 5 width - this is using the ichimoku indicator under the 'trends' tree under indicators. The one where you can't see the source code :|

 

 

 This is what the chart looks like...

 

 

See how the cloud is filled nice and smoothly.

Now the other ichimoku indicator sitting in the indicator tree root, we can view that source code.

There have been suggestions on the forum to use STYLE_SOLID to get the fill effect.

Because I have a large res screen, I need to pump it up to such a high width using the following... 

 

It take the input of 17 to finally fill the space... and this is what I end up with.,,

 

The fill effect looks disgusting and cheap.

Do you guys know how to get the proper smoothing effect from the first example. There obviously is a way to do it if the standard ichimoku can do it.

Thanks very much. 

 

 

 

 

Given the very fine granularity, I suspect (read guess) that there is an internal routine that converts to a smoothed bitmapped image. 
avatar
12992
WHRoeder 2016.07.31 17:20 #
 
dazamate: Here is what the ichimoku cloud looks like when you use scale 5 width - this is using the ichimoku indicator under the 'trends' tree under indicators. The one where you can't see the source code :| This is what the chart looks like...
It doesn't look like that on Mql4. That's what Mql5 can do.
 
x
avatar
71
dazamate 2016.08.08 15:05 #
 
WHRoeder:
It doesn't look like that on Mql4. That's what Mql5 can do.
 
x

Incorrect.

I don't even have MQL5 installed. 

There are two ichimoku indicators to choose from. Once under the 'trend' tree sub tab, and one under the the root directory of the indicators tree.

The example you show is the one under the root directory of the tree...

 

The one in the location above fills with the dotted line, and has the normal color tab.

However this one...

 

This one has the smooth shading I originally screen shotted, and it also has the better color tab ui. Basically it displays the buffer names.

 

 

 

 

 

avatar
12992
WHRoeder 2016.08.08 15:16 #
 
Both show the same for me.
avatar
1211
FMIC 2016.08.08 15:52 #
 
WHRoeder:
Both show the same for me.

You have not followed the OP's instructions. If you set the line width to the thickest as he has indicated both in his text and as a screenshot, you will get the continuous/smooth shading he has mentioned.

It is however an internal/build-in indicator, so it could be that they have internally used MQL5 core base code for it.

avatar
71
dazamate 2016.08.08 17:06 #
 

Obviously MT4 can do this some way or another, it is a shame they don't reveal how they did it, and allow us to see the source code.

Thanks for sharing your thoughts. 

Back to topics list  

To add comments, please log in or register