Daisy-Chaining Indicators
-
Hi
Im trying to connect the values from a custom made indicator to control values in regular MA Indicator. Im guessing I need a Variable or Constants but thats how far Ive gotten.
Any examples of how to go about this?
Thanks and best regards /danerius
-
Like so? /danerius

-
do you need moving average from that indicator? I think you must have moving average buffers directly in that indicator ...
0_1530469084432_miro1360_test_1.2_2xMA.mq4

-
Hello Miro
Thanks for the Indicator. Now precisely what I had in mind. I made a flow chart to illustrate the idea. The Custom Indicator is outputting values on every candle. Those values are going to control parameters in a Condition such as a Moving Average Period.
The value produced in the Condition is going to be displayed in the main window.
Many thanks and best regards /danerius

-
sure, check this:
https://fxdreema.com/shared/BkhCaSnW
here are 2 moving averages, one is static (yellow) with period 200 and the second (purple) is with dynamic period controlled by RSI indicator

note, there can be problem with cross detection
note2: rsi is not good example

-
Hello Miro
Cool. Will check this in detail asap

Best regards /danerius
-
Hello
Cant get it to work. At all. Not sure how you share projects here so Ive included a screen dump. Best regards /danerius

-
you have something weird with custom indicator, it has not parameters, there should be parameters
... note, that output data from indicator are small and value can be 0.xx, you should avoid null value as input parameter for period .... -
you can adjust result by *10 and than this is how it looks like:

-
Ohh... I see...
I got that working. But the Output Buffer field isnt red as in your screen dump? And the line options wont show up as an option. Ive included screen dumps
The output from My Indicator should be somewhere between 1-400. It might drop below zero. Non intentionally - but it might happen. Will that ”break” the Indicator?
One easy remedy would be to add a number to the formula. Like (formula)+1. So you'll always stay above zero.
Best regards /danerius

-
I am not sure why is that white and not red, I used this version of indicator:
0_1530634608823_miro1360_test_1.2.mq4
you are right, it can be increased by +1

-
Hi
Tried it with that Indicator and got the Red Input Field to work
Still no lines on the chart though. And no Line options in the settings
Is it generally a good idea to start fresh with fxdreema-projects or can you modify existing ones without left-over-code possibly messing things up?
Best regards /danerius

-
now I probably know what are you trying to do ....you are trying to generate indicator from fxdreema
- it is not working this way, fxdreema can not generate indicators, only experts, and experts can not be used as indicators (in indicators folder, but they can work as some indicator - as experts) -
@miro1360 said in Daisy-Chaining Indicators:
sure, check this:
https://fxdreema.com/shared/BkhCaSnW
here are 2 moving averages, one is static (yellow) with period 200 and the second (purple) is with dynamic period controlled by RSI indicator

note, there can be problem with cross detection
note2: rsi is not good example

and this is EA from tester, not indicator ...
-
Hi
I really did think that I could make an Indicator in fxdreema

Anyways... I did try and modify the RSI/200MA Expert. No success.
/danerius