I need to know the distance in bars, from the actual bar [0], to a obj_vline, that exist in this chart window
I am using this code:
if( ObjectFind( "lineNum_of_Bars_4_LL_and_HH") == -1 ) // is there lineNum_of_Bars_4_LL_and_HH ?
{
// if not exist: Create it. ObjectCreate( "lineNum_of_Bars_4_LL_and_HH", OBJ_VLINE, 0, TimeCurrent(), 0);
}
else
{ // If exist: // Get the distance in bars, where "ineNum_of_Bars_4_LL_and_HH" is.
}
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.
You are signed in. Two-factor authentication has been disabled. Set it up again and scan a new QR code, or continue with two-factor authentication disabled.
I need to know the distance in bars, from the actual bar [0], to a obj_vline, that exist in this chart window
I am using this code:
Thanks.