Is the formula correct? Or is there an error? So it is calculated in each bar
-


In this example I want to extract a sum: (Previous Close + Previous Open /2)
But when I try to test the EA, it only opens one and stops
Is the formula correct? Or is there an error? So it is calculated in each bar -
check the resulting value via text block:

-
@miro1360 THANK YOU VERY MUCH