Comment on Programming language: algoZ
Hello
I would like to code a strategy for for Nifty futures. Kindly help.
If Last Traded Price of Ambuja Cem > Current Price then A = 10
else A = -10
If Last Traded Price of Sun Pharma > Current Price then A = 20
else A = -20
If Last Traded Price of RCom > Current Price then A = 30
else A = -30
If Last Traded Price of Yes Bank > Current Price then A = 40
else A = -40
Sum = A + B + C + D
IF Sum > 60 Buy NIfty futures and if Sum < 60 Sell Nifty Futures.
Stop loss =
Nifty Low + 5 % Nifty Low If Sum < 60
Nifth High – 5% Nifty High If Sum > 60
And is there any code to get VWAP for shares.