N:1,100,10;
Var4:=3*SMA((INDEXC-LLV(INDEXL,n))/(HHV(INDEXH, n)-LLV(INDEXL,n))*100, 20, 1)-2*SMA(SMA((INDEXC-LLV(INDEXL,n))/(HHV(INDEXH,n)-LLV(INDEXL,n))*100, 20, 1), 15, 1);
Var5:=3*SMA((INDEXO-LLV(INDEXL,n))/(HHV(INDEXH, n)-LLV(INDEXL,n))*100, 20, 1)-2*SMA(SMA((INDEXO-LLV(INDEXL,n))/(HHV(INDEXH,n)-LLV(INDEXL,n))*100, 20, 1), 15, 1);