Example Calculations
-
Hi
Im wondering if theres any examples of fxdreema-EAs that I can check with math done on Indicator values? So I can learn how its done? Im still hooked on comparing High/Low prices to get good buy/sell signals
This time its adding High + Low and dividing by two and comparing that to the Close Price. In the pics -> Yellow and Blue is the High and Low Price. White is Close . An average of H + L would cross the line above or below the Close Price and thus produce signals.
Thanks + Regards /danerius

-
A clarification...
Since theres no response yet. I thought I might explain a bit better

The principle goes like this illustration says.

Im not sure how do to do the math in fxdreema. Ive highlighted in Green the parts Im having trouble with

Thanks and regards /danerius
-
Very basic math can be done in Formula block. Also, you can do math in all input fields, but it's not that pretty. So, you can use "Formula" here and there, also define some Variable and use "Modify Variables" as well. But I have another idea - define few Variables, one for High, one for Low and so on. Then in "Modify Variables" set the value for each one. Then in the second Condition block (the one with darker color) you can write long formula, using each Variable as many times you want.
-
Thanks fx
I just a made a surpricing discovery

High + Low / 2 is called a Median Price and a lot of Indicators have it as standard. It was a bit simpler than I thought
/danerius
-
Open a "Condition" block and select "Candle".
There you have low, high, open, close, median price, typical price, average price, body size, wick size, etc, etc, etc.
-
Hi rafaelgrecco
THanks. Thats an excellent start for my experimenting

/danerius