donmanuel / Профиль
Друзья
Заявки
Добавляя друзей через их профиль или через поиск, вы сможете легко общаться и отслеживать их присутствие на сайте.
Исходящие
donmanuel
Hi. Please somebody help me.
I need to know the distance in bars, from the actual bar [0], to a obj_vline, that exist in this chart window.
Thanks.
I am using this code:
if( ObjectFind( "lineNum_of_Bars_4_LL_and_HH") == -1 ) // Exist ineNum_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.
}
I need to know the distance in bars, from the actual bar [0], to a obj_vline, that exist in this chart window.
Thanks.
I am using this code:
if( ObjectFind( "lineNum_of_Bars_4_LL_and_HH") == -1 ) // Exist ineNum_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.
}
: