drawing arrows in mql4 across specific candles in history

drawing arrows in mql4 across specific candles in history

Manage alerts

Loading saved threads...

prodisoft · External communityPost link
External question — Stack Overflow Stack Exchange Author: prodisoft Original post: https://stackoverflow.com/questions/66132478 License: CC BY-SA 4.0 — https://creativecommons.org/licenses/by-sa/4.0/ Adaptation: HTML converted to plain text; contact email addresses removed. I need create a code to loop across the history in a chart, i need put an arrow on every candlestick on time GMT00 like the image, thanks for the help and suggestions
Quote
Report
prodisoft · External communityPost link
External answer — Stack Overflow Stack Exchange Author: prodisoft Original post: https://stackoverflow.com/a/66148459 License: CC BY-SA 4.0 — https://creativecommons.org/licenses/by-sa/4.0/ Adaptation: HTML converted to plain text; contact email addresses removed. For now i solve it using this code in OnInit() function for(int i=0;i<Bars;i++) { if(TimeHour(Time[i]) == 0) { // ObjectCreate(i, OBJ_ARROW, 0, Time[i], High[i]+100*Point); //draw an up arrow ObjectSet(i, OBJPROP_STYLE, STYLE_SOLID); ObjectSet(i, OBJPROP_ARROWCODE, SYMBOL_ARROWDOWN); ObjectSet(i, OBJPROP_COLOR, Yellow); } }
Quote
Report

Post Reply

Quoted from Forex.com.bd-Editorial External question — Stack Overflow Stack Exchange Author: prodisoft Source score (net votes, not local likes): 0 Original post: https://stackoverflow.com/questions/66132478 License: CC BY-SA 4.0 — https://creativecommons.org/licenses/by-sa/4.0/ Adaptation: HTML converted to plain text; contact email addresses removed. I need create a code to loop across the history in a chart, i need put an arrow on every candlestick on time GMT00 like the image, thanks for the help and suggestions

Cancel quote

Checking account access…
drawing arrows in mql4 across specific candles in history | Forex.com.bd