Zigzag in multiple timframe
-
Re: Please any one can help me on ZigZag indicator?????
Good Morning l'andorrà,
Hope you are well.
Could you please assist me to get the zigzag indicator to analyze multiple Timeframes please , i did use the sample code provided by Miro and duplicated the Var and constants each renamed for weekly, daily and H4.
On the MT5 Tester it works but when loading it on the chart i get a error 4022 : cant load custom indicator ; cant get value from indicator Handle = 10
i only want it to check the current leg on Weekly if it is up or down and then Daily if it is up or down then H4 if it is up or down , the rest ive managed.
-
The ZZ takes a lot of work what @l-andorrà has showed you is what you need, get this working and get the ZZ point values into a comment, then you can see and know the values to weather ZZ is up or down. Once you have done this people will help to get all working. If you struggle with a specific problem, ask. If you are running this on MT5 ensure you go down to the comments and get the correct version.
-
-
I did create everything for Weekly, Daily and H4 but when i load it on the chart it gives me a error that the indicator could not load or cant get the value from the indicator > if i run only weekly it works or if i run only daily it works etc... but when running all at once it gives me the error
-
The main issue i think is that the EA cant use the Zigzag indicator on multiple timeframes at once , i want to use it for a top down analysis : starting from Weekly to Daily then H4 only looking at the last leg if it is up or down for Weekly then Daily then H4.
-
It does used to use it like this, why have you got the condition blocks under the trees? Get this working on current TF then you can test on a specified Tf, when working you can set up the rest, while setting EA's here, you need to start as simple as posible, then yon can add.
-
@jstap Because of the Error i receive when trying to run all 3 at once it give the error , so split them that weekly first run and define the market direction then deactivate , and run daily determine the daily direction and deactivate then H4 after all 3 have their values stored under each their own flag but it still didn't work. it only work when i switch the blocks off and only run one ( either weekly or daily or H4 )
-
@jstap It works perfectly if i switch the daily and weekly off and only run H4, But then it happens that i get trapped sometimes because of the overall direction not the same as the current H4 direction hope it makes sense.
That is why i need a way to get it to determine the Weekly current leg then Daily then H4 , once i have the value example ( Weekly is bullish > Daily Bullish > H4 Bullish ) i then connect it to my SMC strategy to trade with the overall trend.
Hope it makes sense.
-
If you maybe have a solution i would really appreciate it
-
Don't use the TF constant, use the fixed in block settings, all variables need to be different as well.
-
@jstap i can run Weekly alone it works or Daily or H4 but not all at once then i receive the Error 4806 ( Custom indicator could not load Handle=10 or 22 ; Cannot get value from Indicator )
-
I would use this on many TF, add a shared link to look at.
-
it still give the error code , even if i change it from the ZTF constant to the normal selection
-
Add the shared link
-
@Jacques-0 创建多个不同周期的图表,各自运行,是否就能解决这个问题了?
