How can I add a specific level to the moving average at fxdreema ?
-
Anyone help me how to add the levels in Moving average ?

Here the Dow Jones, I want the 14-day moving average and the 200-day levelI want to work on a candle zero, but not on the closure of the candle? What is the best option for dealing with the price? As in the picture؟

-
@khalids222 What? 200-day level? You mean the 200-day moving average?
-
@roar no i mean level 200 for moving averge 14
-
-
@khalids222 The "level" on moving average is just a deviation.
Compare 14-MA with 200 level with the Envelopes indicator (period 14, deviation 0.200.
They are the same thing. -
@roar thank you i will try it ? what is the best option for candle0

-
@khalids222 When working with candle crosses, you probably want a confirmed cross. This is why you should use ID1, the completed candle.
Why are you measuring candle size? Isn't it the level you are interested in?
-
If you do want to check candle size, dont use cross.
Crossing condition will always compare a candle with the previous candle, it doesn't compare intra-candle values. -
@roar said in How can I add a specific level to the moving average at fxdreema ?:
If you do want to check candle size, dont use cross.
Crossing condition will always compare a candle with the previous candle, it doesn't compare intra-candle values.But what if you use a double moving average, one greater than the second, such as the average one and the average ten, and use the zero candle at the intersection of the average ten.
Assuming here the intersection really happened?
What is the best option to use the body of the candle or wick. Even if there is an intersection and return.I appreciate your efforts and thank you for helping me
-
@khalids222 You want to check if candle crosses 10-MA?
Don't use candle body size, or candle total size.
Those are sizes, not levels.If you want to take action when a candle touches moving average, a solution is to use two conditions:
if candle open > MA, then
if candle close < MA
-> take actionanother case:
if candle open < MA, then
if candle close > MA
-> take action -
@roar
thank you very much
I appreciate your efforts and thank you for helping me -
Good input roar. Your knowledge is humbling.
-
@roar said in How can I add a specific level to the moving average at fxdreema ?:
@khalids222 You want to check if candle crosses 10-MA?
Don't use candle body size, or candle total size.
Those are sizes, not levels.If you want to take action when a candle touches moving average, a solution is to use two conditions:
if candle open > MA, then
if candle close < MA
-> take actionanother case:
if candle open < MA, then
if candle close > MA
-> take actionJust for my interest, doesn't do x> or x< do the same? If you compare on candle cross per candle, you'd probably miss crosses with gaps. For instance candle ID2 close was below MA and candle ID 1 open was above.
