Try the following formula, which is a bit complicated, but the idea of the formula is clear.
Var 1:=(2 * close+high+low)/4;
var 2:= EXPMA(EXPMA(EXPMA(var 1,4),4);
J:=(VAR2-REF(VAR2, 1))/REF(VAR2, 1)* 100,? COLORSTICK
D:=MA(J,3);
K:=MA(J, 1);
JX:=(D & gt; 0)*(CROSS(K,D)); ?
Times: = sum (JX, sum ((d
Primary price: =REF(C, SUMBARS(CROSS (times = 1, 0.5),1));
Secondary price: =REF(C, sum bars (cross (times = 2,0.5),1)) * (sum bars (times = 2,0.5),1) < sum bars (cross (times =1,0.
Secondary price > 0? And then what? Secondary price