JAVA Have to calculate Simple moving average of existing stock data

I have stock data of wipro shares 2021.

I will share the .sql file and you have calculate the simple moving average using that

the code should be in JAVA.

1. execute below query to get the 5min data order by time and date.


FROM wipro where stocktimeInterval='5_min_stock_data'

ORDER BY name, stockTimeInterval, stockTime, date;

for 20SMA:

2. From all the entries of 9:15 you have to start from 21st entry and get the closing value of all previous 20 entries and update the average calculated to 21st row..this will be continued till we finish all the entries of 9:15.

3. repeat point #2 get all the entries of 9:20,9:25,9:30,9:35 and you have to start from 21st entry......

this is the second requirement where you have to calculate the points gained based on below strategy:

------- get the high and low of 9:15 to 10:15 and calculate how many points the the stock moved above the high and below the low

stoploss will be high of 9:15 to 10:15 for buy side

stoploss will be low of 9:15 to 10:15 for sell side

Kemahiran: Java, Kejuruteraan Perisian, JavaScript, MySQL

Lihat lagi: simple moving average sma mt4, best free simple moving average, calculate day moving average indian stocks, calculate exponential moving average stop loss pips, crossing simple moving average expert advisor, set simple moving average metatrader, simple moving average, simple moving average expert, calculate exponential moving average mysql, martingale simple moving average, period shift simple moving average, simple moving average crossover, simple moving average strategy vba code, simple moving average strategy, access sql calculate day moving average, renko simple moving average, simple moving average trading strategy

Tentang Majikan:
( 0 ulasan ) Bengaluru, India

ID Projek: #32254576

2 pekerja bebas membida secara purata ₹3025 untuk pekerjaan ini


I have been programming in Java for over two years now! I have worked on similar projects that relate to the stockmarket. Additionally, I am very familiar with SQL, and I think I would be perfect for your job. My work Lagi

₹1050 INR dalam 7 hari
(2 Ulasan)

Hello, I can create a Project in Eclipse for you using Java and mySQL scripts. You can import same in your environment and modify/develop it further to include other stocks tables and time. Thanks,

₹5000 INR dalam 7 hari
(0 Ulasan)