CUSTOM INDICATOR IN SEPERATE WINDOW
-
Hi there, this is my first post here. I'm a stuck.
Basically, I have the calculation already. https://fxdreema.com/shared/obQDTGWlb
The calculation is simple z=price - mean / standart deviation. It works fine at current tick.
But I want to use it as an indicator in a seperate window to see historical z scores.
I want to see 3 lines.. Z SCORE 1, Z SCORE 2 and the difference between the 2 line, which I named SPREAD.
If anyone can help, that would be much appreciated. Kind regards -
fxDreema is not designed to make indicators, sorry. You can create an EA behaving like one, though. To do that you will need to run it on a separate chart. On the other hand, the 'Pass' block on top is not necessary at all.
-
@l-andorrà thank you so much for your reply... yeh it's still useful for me if i can get the ea to behave like an indicator, i dont mind running it on a seperate window.. but with my calculation, i m stuck on current tick, i want the chart to draw lines on historical data, so i want to see when lines cross and historical value of z score spread. how should i go about this do you think? any advice would be much appreciated.. kind regards
-
No problem. We will help you. Some more visual info would be much appreciated. Could you please upload some screenshots showing what you need exactly? That would clarify a lot your request.
-

thank you landorra...
I managed to get the calculations on tick done but what i really want is to show the calculations show on 3 lines with all the historical ticks on the chart.. I hope I ve explained well.. thanks again.. kind regards
-
Ok. First questions. HHow are 1st and 2nd symbol z score got? Are they the values of that indicator on candles Id 1 and 2 possibly?
-
@hasan-unsal said in CUSTOM INDICATOR IN SEPERATE WINDOW:
hi landorra, if you can kindly look in the formulas in this link, https://fxdreema.com/shared/obQDTGWlb it shows the calculations.. formula for the z score is price minus mean over standard deviation, which i have managed to do correctly i think.
-
Ok. Did you check those values? Apparently the formulae are correct, but I find it weird substracting a MA value to the ask price. Is that what you really need or maybe you are looking for the distance in pips between those two values?