brandoncardillo:
Hi so i am using zeroMQ to get data for my machine learning algorithm in python.
but once my model has made a prediction i want a way to efficiently draw arrows to different symbols on my mt4.
preferably a way that does not involve using an intermediate file rather using zeroMQ or other methods.
Thank you! btw this is my first question ever, just could not find any thing online about this.
//ZMQ INCOMING MESSAGE FORMAT 0_DRAW|1_ARROW|2_SYMBOL|3_OBJ_NAME|4_OBJ_ARROW_BUY|5_TIME|6_PRICE| long chartID=ChartFirst(); while (chartID>0) // { if (ChartSymbol(chartID)== compArray[2]) { Print("Current chartID = " + chartID); break; } else chartID = ChartNext(chartID); continue; } // BUY SIDE if (compArray[4]=="BUY") { if (ObjectCreate(chartID,compArray[3],OBJ_ARROW_BUY,0,compArray[5],compArray[6])) { if (ObjectSet(compArray[3],OBJPROP_ARROWCODE,233) && ObjectSet(compArray[3],OBJPROP_COLOR,clrRed)) { ObjectSet(compArray[3],OBJPROP_TIMEFRAMES,OBJ_PERIOD_D1|OBJ_PERIOD_H4); InformPullClient(pSocket,"Sign is put on chart."); } else Print(GetLastError()); } else Print(GetLastError()); }
Pls find above codes.

You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Hi so i am using zeroMQ to get data for my machine learning algorithm in python.
but once my model has made a prediction i want a way to efficiently draw arrows to different symbols on my mt4.
preferably a way that does not involve using an intermediate file rather using zeroMQ or other methods.
Thank you! btw this is my first question ever, just could not find any thing online about this.