Attachments forums

List of attachments posted on this forum.


All files on forums: 136046

Re: Dashboard Type Indicators for MT4

Jackson Doh, Fri Nov 11, 2022 2:44 pm

Banzai wrote: Sat Oct 23, 2021 4:41 am In this version 1.01, you can click on the time frame buttons such as [M5], [H1], ...
A big shout out to Banzai for sharing the ADX heatmap /dashboard (and others) with the source code. Thanks so much.

I decided to try to make a DB/ heatmap for the G Channel Jurik indicator that I posted yesterday. It worked straight away and the results are below.

It hit me that there wasn't much new coding skill involved in making this and wish I had realised this a long time ago. I always thought Dashboards were difficult to make and therefore nigh on impossible to adapt to the indicator of my choice. I was so wrong!

In the indicator G-chan_Jma-DB BT.mq4 there are just three small sections that need changing in order to have a DB with the custom indicator of your choice. I've marked them with comments starting: "// JD: "

Lines 12 to 16 need to be changed to the indicator inputs of the new indicator;
Lines 246 to 248 need the iCustom input references to be changed to what you entered instead of lines 12 to 16;
Lines 266 to 267 need the input references changing to the new input names.

If your output is only 2 possible outcomes, say Up or Down, lines 248 and 259 to 260 can just be deleted.

This DB comes with a button and is also clickable display to change charts. I found the Zero indicator really useful to add a blank sub-window. I would load that first. Both the G-chan_Jma-DB BT and GCJMA_DB_Histo indicators need to be in the same indicators folder.

If your broker charts have suffixes then I have found these are needed to be included in the inputs for the DB to work, so in my case I need to add ".sb" to the symbols.

I would say just have a go.
All files in topic