Forum

Help me with this code please!

1. How can I plot consecutive number (text) with each bar? I want to start "1" at 09:00 and then 2, 3, 4,... I try to use for(int i=1;i>=1;i++) but my mt4 just shuts down. 2. How can I keep the numbers position staying at the bars? It keeps moving , updating to the present bar and the previous bar

Display texts at a specific time every day?

I am trying to display texts at 09:00 ( server time ) every day but I don't know how to define time and price . About price I want it to plot on the low of the bar at 09:00, how can I get that? ObjectCreate ( 0 , "Number" , OBJ_TEXT , 0 , time???? , price???? ); ObjectSetString ( 0 , "Number"

I don't know how to create indicator about bar count numbers (look at image attached). Help me!

Hi Experts, I have traded for 4 years, but I'm still a novice at programming. I started learning how to write code a couple of days ago so that I can create my indicator for trading purposes. You can see the indicator (look at the image) which I am trying to create. Utilities of the indicator: At a