This forum is in read-only mode now. You may discuss your questions on forums of MQL4.community and MQL5.community
ObjectGet questionBack to topics list |
|
Pepo
2005.02.01 04:29
Hi guys,
I want to get the retracements values for a fibonacci retracement object. let's say the chart shows a downtrend, with higher high at bar 5, and lower low at bar 0. I coded an expert with the following code: ---- ObjectCreate("fibo",OBJ_FIBO,0,Time[5],High[5],Time[0],Low[0]); ObjectsRedraw(); double value = ObjectGet("fibo",OBJPROP_FIBOLEVELS+1) ---- my question is: should "value" contain now the value for the 23.6% retracement? if yes, why I'm geting value=0? if no, what is wrong?? |
|
Slawa
2005.02.02 11:57
at first one question. what the levels You get when create fibo object manually?
|
Download MetaTrader 5 (450 Kb, web installer) — a new terminal for financial markets
