Indicators: 3D Moving Average - page 2

 
andrewvillaflor:

has problems when compiling.

You need:
 
Nikolai Semko:

Thanks.

Of course I don’t have time, but I spent about 5 hours on this code. This code has only one purpose - to demonstrate the potential of canvas and to shake the conservative community a bit to think about the fact that there are other dimensions, not just price and time. For trading, of course, this indicator is absolutely useless. Do not worry about me, I will find the effective application of three (even four) -dimensional data visualization.

A possible good third dimension value say like Volume, would come in handy yo correlate the volume, price level, etc. At the same time.  Could play with this in many ways.  If possible leave the third variable open yo allow for users to input their own or swap them.  Let me know what you think.
 
Joseph Little:
A possible good third dimension value say like Volume, would come in handy yo correlate the volume, price level, etc. At the same time.  Could play with this in many ways.  If possible leave the third variable open yo allow for users to input their own or swap them.  Let me know what you think.

Making the third variable (dimension) open to the user - this will complicate the code many times. For programmers, the third variable z is always open. It will not be difficult to change the code.
About the volume.
It must be remembered that one time-price combination will correspond to only one volume value, so this is not a surface in three-dimensional space, but a curve line in three-dimensional space.

 
MT4 version
But it works much slower.
Files:
 
Thanks Nikolai
 

This is amazing, and I would love to get this working, but I'm totally new to MetaTrader, and I'm also on a mac.

I saw your post where I'm supposed to download the iCanvas file. On my mac, under ~Library, I found in ApplicationSupport the folder MetaTrader 5. Within that folder I went to Bottles/metatrader5/drive_c/Program Files/MetaTrader 5/MQL5/Include/Canvas and simply put the file "iCanvas.mqh" in there and restarted MT5. I don't know how, but I also found in metaeditor64 a compile button for that, and I clicked it. No errors. I don't know if that means the file is available/loaded.

Under ~Library ApplicationSupport/ MetaTrader 5/ Bottles/metatrader5/drive_c/Program Files/MetaTrader 5/MQL5/Include/Indicators I dropped the file "3D_Moving_Avarage.mq5" there.

In metaeditor64, when I press compile on that file I get a series of errors. Mostly "undeclared identifier".

Can you point me in the right direction?

 
Ian Robert:

This is amazing, and I would love to get this working, but I'm totally new to MetaTrader, and I'm also on a mac.

I saw your post where I'm supposed to download the iCanvas file. On my mac, under ~Library, I found in ApplicationSupport the folder MetaTrader 5. Within that folder I went to Bottles/metatrader5/drive_c/Program Files/MetaTrader 5/MQL5/Include/Canvas and simply put the file "iCanvas.mqh" in there and restarted MT5. I don't know how, but I also found in metaeditor64 a compile button for that, and I clicked it. No errors. I don't know if that means the file is available/loaded.

Under ~Library ApplicationSupport/ MetaTrader 5/ Bottles/metatrader5/drive_c/Program Files/MetaTrader 5/MQL5/Include/Indicators I dropped the file "3D_Moving_Avarage.mq5" there.

In metaeditor64, when I press compile on that file I get a series of errors. Mostly "undeclared identifier".

Can you point me in the right direction?

Most likely, indeed, the iCanvas file was copied to the wrong folder.

I do not know how MT works on a Mac, but try to hover the mouse pointer over the file name in ME and you will see the full path.
iCanvas should be copied to the folder that you see (mine is highlighted in yellow) + Include\Canvas\iCanvas.mqh

 
It seems that this indicator is no longer working? I tried to install it but nothing (((
 
ramzeees #:
It seems that this indicator is no longer working? I tried to install it but nothing (((

I checked. It works. Make sure that the file iCanvas_CB.mqh is inside MQL5\Include\Canvas\

Files:
 
Николай Семко # :

Я проверил. Работает. Убедитесь, что файл iCanvas_CB.mqh находится внутри MQL5\Include\Canvas\.

Thanks for the feedback, Nikolay. I figured it out. The indicator is really very interesting. I have been researching markets from the point of view of quantum mechanics for a year now. In addition (the concept of superposition, cognitive distortions, analysis by two hemispheres of the brain, traps of the reticular formation of the brain, etc.) I came to several interesting discoveries. I found you through this message when I was looking for a sliding timeframe. https://www.mql5.com/en/forum/463438#comment_52595831
I would like to know if you are planning to create something similar, but more informative in terms of non-standard TF? I have some idea, can we discuss it in PM?
Create non-standard timeframes in MQL4
Create non-standard timeframes in MQL4
  • 2024.03.02
  • Michael Gerald Stifter
  • www.mql5.com
Hi all, I am programming an indicator and I wonder if it is possible to use non-standard timeframes in MQL4...