Print numbes above Price bar TD_sequential indicator
- Please edit your (original) post and use the CODE
button (Alt-S)! (For large amounts of code, attach it.)
General rules and best pratices of the Forum. - General - MQL5 programming forum
Messages Editor - Don't double post! You already had this thread open.
General rules and best pratices of the Forum. - General - MQL5 programming forum -
ObjectCreate("cd"+i,OBJ_TEXT,0,Time[i],High[i]+tfm*2.5);
Why are you placing it 2.5 * 50 * Point; above the high of the candle, if you don't want it that high?
- Please edit your (original) post and use the CODE
button (Alt-S)! (For large amounts of code, attach it.)
General rules and best pratices of the Forum. - General - MQL5 programming forum
Messages Editor - Don't double post! You already had this thread open.
General rules and best pratices of the Forum. - General - MQL5 programming forum - Why are you placing it 2.5 * 50 * Point; above the high of the candle, if you don't want it that high?
There we go, code is posted correctly.
Not sure how much of my actual question you read.
I didnt write the indicator, just downloaded it. And would like it to print the text on the chart a bit more accurately.
Problem is some numbers print in the price bar, not above. So far it seems like the solution might be found in the ObjectCreate line ?
I dont see where you get the "50" from, in your statement above, Why are you placing it 2.5 * 50 * Point;
extern int Space=50; //space above or below high to place number ⋮ double tfm=Space*Point; ⋮ ObjectCreate("cd"+i,OBJ_TEXT,0,Time[i],High[i]+tfm*2.5);
William, I appreciate that you take time to comment.
you are being rather snooty, which is the first person here like that i have encountered in this community.
Please advise on how to change code to cause indicator to print numbers above price bar rather than within the body. this is the MAB_TD_sequential indicator available for download. Please be specific as i am not a programmer. I assume after the changes are made, i recompile, and it should go into effect in the chart ?
I assume it might be in the line that starts with Object Create, but what changes would need to be made.