Var1:=AMOUNT/(100*vol);
Var2:=MA(Var1,13);
Var3:=DMA(Var1,VOL/CAPITAL);
CkdP: 100*(Var2-COST(0))/(COST(100)-COST(0));
CKDW: 100*(Var3-COST(0))/(COST(100)-COST(0));
Var1:=AMOUNT/(100*vol);
Var2:=MA(Var1,13);
Var3:=DMA(Var1,VOL/CAPITAL);
CkdP: 100*(Var2-COST(0))/(COST(100)-COST(0));
CKDW: 100*(Var3-COST(0))/(COST(100)-COST(0));