How to add value to char Array to do webrequest http?
Error:
void OnTick() { string cookie=NULL,headers; double MA30 = iMA(NULL,PERIOD_CURRENT,14,0,MODE_SMA,PRICE_CLOSE);
the indicator handle (read the iMA help - it is of type 'int', not 'double') should be received ONCE and should be done in OnInit !!!.
Creating an iMA indicator handle, getting indicator values
Documentation on MQL5: Technical Indicators / iMA
- www.mql5.com
iMA - Technical Indicators - MQL5 Reference - Reference on algorithmic/automated trading language for MetaTrader 5
I am trying to do http post request for practicing. I am receiving http post on my node server. However, req.body returns undefined. How can I add MA value to the http post request in this case?