giovi61
giovi61
友達

プロファイルまたはユーザー検索を経由して友達を追加できます。追加するとオンラインステータスがわかるようになります。

giovi61
giovi61
Goodmorning everyone!
I have a problem which I can not solve, and I have not found solutions around. I created a OBJ_REGRESSION object, which is existing and plotted on the graph, but if I try to read the values through ObjectGetValueByTime always get the value 0.

The very simplified code is this:

ObjectCreate ("reg", OBJ_REGRESSION, 0, Time [500], 0, Time [0], 0);
ObjectGetValueByTime (0, "reg", Time [0], 0) // always returns 0
ObjectGetValueByTime (0, "reg", Time [0], 1) // always returns 0
ObjectGetValueByTime (0, "reg", Time [0], 2) // always returns 0

Someone can give me an explanation and perhaps a remedy? thank you
giovi61
MQL5.communityに登録されました