e.bravetti:
Please use the SRC button to post code . . .
I mark bug on ObjectGet function....follow example with debug
I have on chart one label on corner 4
this is my function code
<removed>
"and this is the debug result.........all label are set on corner 4 ( top left ) but the function return always 0"
There is no such setting as corner 4, corners are numbered 0 to 3, 0 Is top left.
I believe that if you enter an incorrect number, such as 4, for setting the corner, it will default to 0.
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
I mark bug on ObjectGet function....follow example with debug
I have on chart one label on corner 4
this is my function code
and this is the debug result.........all label are set on corner 4 ( top left ) but the function return always 0
21:24:15 GAP_LAP_searcher EURUSD,H4: corner = 4
21:24:15 GAP_LAP_searcher EURUSD,H4: cornerDistance = 12
21:24:15 GAP_LAP_searcher EURUSD,H4: objectNumber = 5
21:24:15 GAP_LAP_searcher EURUSD,H4: ------------------i = 0
21:24:15 GAP_LAP_searcher EURUSD,H4: ObjectName(i) = GAP_DOWN_0
21:24:15 GAP_LAP_searcher EURUSD,H4: ObjectGet( ObjectName(i), OBJPROP_CORNER ) = 0
21:24:15 GAP_LAP_searcher EURUSD,H4: OBJPROP_CORNER = 101
21:24:15 GAP_LAP_searcher EURUSD,H4: ------------------i = 1
21:24:15 GAP_LAP_searcher EURUSD,H4: ObjectName(i) = GAP_LIST
21:24:15 GAP_LAP_searcher EURUSD,H4: ObjectGet( ObjectName(i), OBJPROP_CORNER ) = 0
21:24:15 GAP_LAP_searcher EURUSD,H4: OBJPROP_CORNER = 101
21:24:15 GAP_LAP_searcher EURUSD,H4: ------------------i = 2
21:24:15 GAP_LAP_searcher EURUSD,H4: ObjectName(i) = GAP_UP_1
21:24:15 GAP_LAP_searcher EURUSD,H4: ObjectGet( ObjectName(i), OBJPROP_CORNER ) = 0
21:24:15 GAP_LAP_searcher EURUSD,H4: OBJPROP_CORNER = 101
21:24:15 GAP_LAP_searcher EURUSD,H4: ------------------i = 3
21:24:15 GAP_LAP_searcher EURUSD,H4: ObjectName(i) = LAP_DOWN_0
21:24:15 GAP_LAP_searcher EURUSD,H4: ObjectGet( ObjectName(i), OBJPROP_CORNER ) = 0
21:24:15 GAP_LAP_searcher EURUSD,H4: OBJPROP_CORNER = 101
21:24:15 GAP_LAP_searcher EURUSD,H4: ------------------i = 4
21:24:15 GAP_LAP_searcher EURUSD,H4: ObjectName(i) = LAP_LIST
21:24:15 GAP_LAP_searcher EURUSD,H4: ObjectGet( ObjectName(i), OBJPROP_CORNER ) = 0
21:24:15 GAP_LAP_searcher EURUSD,H4: OBJPROP_CORNER = 101
21:24:15 GAP_LAP_searcher EURUSD,H4: realObjectNumber = 0
21:24:15 GAP_LAP_searcher EURUSD,H4: pixel result = 13
thanks
eugenio bravetti