Forum

help with the bar function

can anyone help with this datetime time6= D'2024.07.10 07:15' ; string symbol= "EURUSD" ; ENUM_TIMEFRAMES tf= PERIOD_M5 ; bool exact= false ; //--- If there is no bar at the specified time, iBarShift will return the index of the nearest bar int bar_index=iBarShift(symbol,tf,time6,exact);

How can i change the color of histogram, please help

for ( int i=start; i<rates_total && ! IsStopped (); i++) { ExtSignalBuffer[i]=( low[i]-open[i])* 1000000 ; if (open[i]-close[i] > 0 ) // in case bear indicator_type2 [i] = clrAqua ; //change color ExtSignalBuffer[i]=(low[i]-close[i])* 1000000 ; }

implement AI into the Expert Advisor

Is there a way to implement AI into the Expert Advisor? For example, embedding it into the code so that when a certain candle is selected, it marks similar candles in the historical data

account balance alert

hello, is there a script that gives alert when the account balance reaches a certain level, thanks in advance

Chart navigation, Scrolling Techniques, Multi-Timeframe Analysis

Hi, I want to practice using charts so that when I scroll back on a chart window, I can study the chart with multiple timeframes without the need to precisely scroll back on multiple windows. I'd like to be able to scroll back on one window and have other windows of different timeframes