I currently have CQG trading system. but im having hard time write this in CQG trade system editor.
Is there anyone who can write this tradestaion Easy language in CQG formula language ?
Thanks
sumup = 0;
sumdn = 0;
for i = 1 to n begin // n = 14
if close - close > 0 then
sumup = sumup + close - close[1]
else sumdn = sumdn + close[1] - close;
end;
RSI = 100 - (100/(1 + (sumup/sumdn)));
Is there anyone who can write this tradestaion Easy language in CQG formula language ?
Thanks
sumup = 0;
sumdn = 0;
for i = 1 to n begin // n = 14
if close - close > 0 then
sumup = sumup + close - close[1]
else sumdn = sumdn + close[1] - close;
end;
RSI = 100 - (100/(1 + (sumup/sumdn)));