What is the easiest way making this work? I was thinking GlobalVars, and insert this into the "supply-and-demand-zones" indicator for example:
datetimeGlobalVariableSet( Name, price );
And thenuse GlobalVariableGetin the Dashboard EA...... but, i think i need different names for the GlobalVariableSet for each pair... else i will end up with the same data on all pairs...
Im stuck.... i would appreciate all help i can get!
Im also attaching the 2 indicators source code in this post!
Hello everyone!
Im trying to build a Dashboard that will alert me when price comes to a Supply/Demand zone....
I want to build the Dashboard with 2 indicators.
The problem i have is, i dont know how i should pass the certain variables from the indicators to the Dashboard EA....
The "Peak HiLo indicator" contains 2 variables im interested in which is "tradingPeakHighLineName" and "tradingPeakLowLineName".
These variables contains the data i need to pass to the Dashboard EA..... thats what i believe anyway!
The second indicator is "supply-and-demand-zones" which contains a variable named "price", i get it from the Alert-void:
Example of how the Dashboard EA might look like:
https://paste.pics/31fcdf781494a6d60f51fad7e68991d1
What is the easiest way making this work? I was thinking GlobalVars, and insert this into the "supply-and-demand-zones" indicator for example:
And then use GlobalVariableGet in the Dashboard EA...... but, i think i need different names for the GlobalVariableSet for each pair... else i will end up with the same data on all pairs...
Im stuck.... i would appreciate all help i can get!
Im also attaching the 2 indicators source code in this post!
Thank you