← К каталогу
Исходный код · ID 2212

RsiOma DB

rsioma_db_v1_02.mq5
Вы автор или правообладатель?

Сообщите нам, если считаете, что материал размещён без разрешения.

Краткий обзор

О программе

RsiOma DB — пользовательский индикатор для MetaTrader 4, который отображает на графике информационную панель с данными индикатора RSIOMA (2) по нескольким таймфреймам одновременно. Для работы требуется установленный внешний индикатор RSIOMA (2).

Индикатор периодически обновляет отображение с помощью таймера, считывая значения внешнего индикатора для выбранных таймфреймов и отрисовывая на графике цветные маркеры и подписи. Каждый таймфрейм можно включать или отключать независимо.

Панель настраивается через параметры: расположение элементов, размер шрифта и квадратов, цвета, а также режим ранжирования сигналов. При удалении индикатора с графика все созданные им графические объекты удаляются.

Настройки программы

НастройкаОписание
_Comment Примечание 1 — Текстовое примечание
_Comment_2 Примечание 2 — Текстовое примечание
objectpreamble Префикс объектов — Префикс имён графических объектов
UpdateTimerInSeconds Интервал обновления (сек) — Интервал обновления данных в секундах
chartId ID графика — Идентификатор графика
showMonth Показать MN1 — Отображение данных MN1
showWeek Показать W1 — Отображение данных W1
showDay Показать D1 — Отображение данных дневного таймфрейма
showH4 Показать H4 — Отображение данных H4
showH1 Показать H1 — Отображение данных H1
showM30 Показать M30 — Отображение данных M30
showM15 Показать M15 — Отображение данных M15
showM5 Показать M5 — Отображение данных M5
showM1 Показать M1 — Отображение данных M1
useSignalsRank Использовать ранжирование — Включить ранжирование сигналов
xAnchor Позиция по X — Начальная позиция по X
yAnchor Позиция по Y — Начальная позиция по Y
fontSize Размер шрифта — Размер шрифта подписей
squareSize Размер квадрата — Размер квадрата-маркера
squareSpace Расстояние между квадратами — Расстояние между квадратами
textColor Цвет текста — Цвет текста подписей
xOutline Смещение контура по X — Смещение контура квадрата по X
arrowOutlineX Смещение стрелки по X — Смещение по X для стрелки
arrowOutlineY Смещение стрелки по Y — Смещение по Y для стрелки
Получить полный код

Поиск по коду файла

#property version   "1.00"
#property strict
#property indicator_chart_window

sinput string _Comment = "RSIOMA (2).ex4 is needed";
sinput string _Comment_2 = "Preamble must be unique for evere instance in chart";
sinput string objectpreamble = "rsioma_db_";
sinput int UpdateTimerInSeconds = 5;
sinput long chartId = 0;
sinput bool showMonth = false;
sinput bool showWeek = true;
sinput bool showDay = true;
sinput bool showH4 = true;
sinput bool showH1 = true;
sinput bool showM30 = false;
sinput bool showM15 = true;
sinput bool showM5 = true;
sinput bool showM1 = false;

sinput bool useSignalsRank = false;

sinput int xAnchor = 1250;
sinput int yAnchor = 200;
sinput int fontSize = 6;
sinput int squareSize = 14;
sinput int squareSpace = 5;

sinput color textColor = clrOrange;
sinput int xOutline = 3;
sinput int arrowOutlineX = 3;
sinput int arrowOutlineY = 3;
double multiplier = 1.65;

int yOffsetArrow;

string preamble ;

double tmpValue_1, tmpValue_2, tmpValue_3;

int OnInit()
  {
      // код доступен только после оплаты
   }

void OnDeinit(const int reason)
  {

   EventKillTimer();

    string name;
    string s = preamble;

    for (int i = ObjectsTotal() - 1; i >= 0; i--)
    {
        name = ObjectName(i);
        if (StringSubstr(name, 0, StringLen(s)) == s)
        {
            ObjectDelete(name);
        }
    }

  }

int OnCalculate(const int rates_total,
                const int prev_calculated,
                const datetime &time[],
                const double &open[],
                const double &high[],
                const double &low[],
                const double &close[],
                const long &tick_volume[],
                const long &volume[],
                const int &spread[])
  {
      // код доступен только после оплаты
   }

void OnTimer()
  {

   int xOffset = xAnchor;
   int yOffset = yAnchor;
   if (showMonth)
   {
      tmpValue_1 = iCustom(Symbol(),PERIOD_MN1,"RSIOMA (2)", 0, 0);
      tmpValue_2 = iCustom(Symbol(),PERIOD_MN1,"RSIOMA (2)", 5, 0);
      tmpValue_3 = iCustom(Symbol(),PERIOD_MN1,"RSIOMA (2)", 0, 1);

      SetText(chartId, preamble + "MN1_label_" + Symbol(),"M", xOffset, yOffset, textColor,fontSize);
      if ((tmpValue_1 > tmpValue_2 || !useSignalsRank) && tmpValue_1 > 80.0)
      {
         SetObjText(chartId, preamble + "square_MN1_" + Symbol(),CharToStr(110), xOffset-xOutline, yOffset + fontSize + 4, clrLime,squareSize);
         if (tmpValue_1 > tmpValue_3)
         {
            SetObjText(chartId, preamble + "arrow_MN1_" + Symbol(),CharToStr(233), xOffset + arrowOutlineX, yOffset + fontSize + squareSize * multiplier, clrLime,fontSize);
         }
         else if (tmpValue_1 < tmpValue_3)
         {
            SetObjText(chartId, preamble + "arrow_MN1_" + Symbol(),CharToStr(234), xOffset + arrowOutlineX, yOffset + fontSize + squareSize * multiplier + yOffsetArrow, clrRed,fontSize);
         }
         else
         {
            SetObjText(chartId, preamble + "arrow_MN1_" + Symbol(),CharToStr(243), xOffset + arrowOutlineX, yOffset + fontSize + squareSize * multiplier, clrOrange,fontSize);
         }
      }
      else if ((tmpValue_1 > tmpValue_2 || !useSignalsRank) && tmpValue_1 > 50.0)
      {
         SetObjText(chartId, preamble + "square_MN1_" + Symbol(),CharToStr(110), xOffset-xOutline, yOffset + fontSize + 4, clrGreen,squareSize);
         if (tmpValue_1 > tmpValue_3)
         {
            SetObjText(chartId, preamble + "arrow_MN1_" + Symbol(),CharToStr(233), xOffset + arrowOutlineX, yOffset + fontSize + squareSize * multiplier, clrLime,fontSize);
         }
         else if (tmpValue_1 < tmpValue_3)
         {
            SetObjText(chartId, preamble + "arrow_MN1_" + Symbol(),CharToStr(234), xOffset + arrowOutlineX, yOffset + fontSize + squareSize * multiplier + yOffsetArrow, clrRed,fontSize);
         }
         else
         {
            SetObjText(chartId, preamble + "arrow_MN1_" + Symbol(),CharToStr(243), xOffset + arrowOutlineX, yOffset + fontSize + squareSize * multiplier, clrOrange,fontSize);
         }
      }
      else if ((tmpValue_1 < tmpValue_2 || !useSignalsRank) && tmpValue_1 < 20.0)
      {
         SetObjText(chartId, preamble + "square_MN1_" + Symbol(),CharToStr(110), xOffset-xOutline, yOffset + fontSize + 4, clrRed,squareSize);
         if (tmpValue_1 > tmpValue_3)
         {
            SetObjText(chartId, preamble + "arrow_MN1_" + Symbol(),CharToStr(233), xOffset + arrowOutlineX, yOffset + fontSize + squareSize * multiplier, clrLime,fontSize);
         }
         else if (tmpValue_1 < tmpValue_3)
         {
            SetObjText(chartId, preamble + "arrow_MN1_" + Symbol(),CharToStr(234), xOffset + arrowOutlineX, yOffset + fontSize + squareSize * multiplier + yOffsetArrow, clrRed,fontSize);
         }
         else
         {
            SetObjText(chartId, preamble + "arrow_MN1_" + Symbol(),CharToStr(243), xOffset + arrowOutlineX, yOffset + fontSize + squareSize * multiplier, clrOrange,fontSize);
         }
      }
      else if ((tmpValue_1 < tmpValue_2 || !useSignalsRank) && tmpValue_1 < 50.0)
      {
         SetObjText(chartId, preamble + "square_MN1_" + Symbol(),CharToStr(110), xOffset-xOutline, yOffset + fontSize + 4, clrOrange,squareSize);
         if (tmpValue_1 > tmpValue_3)
         {
            SetObjText(chartId, preamble + "arrow_MN1_" + Symbol(),CharToStr(233), xOffset + arrowOutlineX, yOffset + fontSize + squareSize * multiplier, clrLime,fontSize);
         }
         else if (tmpValue_1 < tmpValue_3)
         {
            SetObjText(chartId, preamble + "arrow_MN1_" + Symbol(),CharToStr(234), xOffset + arrowOutlineX, yOffset + fontSize + squareSize * multiplier + yOffsetArrow, clrRed,fontSize);
         }
         else
         {
            SetObjText(chartId, preamble + "arrow_MN1_" + Symbol(),CharToStr(243), xOffset + arrowOutlineX, yOffset + fontSize + squareSize * multiplier, clrOrange,fontSize);
         }
      }
      else
      {
         SetObjText(chartId, preamble + "square_MN1_" + Symbol(),CharToStr(110), xOffset-xOutline, yOffset + fontSize + 4, clrGray,squareSize);
         if (tmpValue_1 > tmpValue_3)
         {
            SetObjText(chartId, preamble + "arrow_MN1_" + Symbol(),CharToStr(233), xOffset + arrowOutlineX, yOffset + fontSize + squareSize * multiplier , clrLime,fontSize);
         }
         else if (tmpValue_1 < tmpValue_3)
         {
            SetObjText(chartId, preamble + "arrow_MN1_" + Symbol(),CharToStr(234), xOffset + arrowOutlineX, yOffset + fontSize + squareSize * multiplier + yOffsetArrow, clrRed,fontSize);
         }

      }

      xOffset = xOffset + squareSize + squareSpace;
   }

   if (showWeek)
   {
      tmpValue_1 = iCustom(Symbol(),PERIOD_W1,"RSIOMA (2)", 0, 0);
      tmpValue_2 = iCustom(Symbol(),PERIOD_W1,"RSIOMA (2)", 5, 0);
      tmpValue_3 = iCustom(Symbol(),PERIOD_W1,"RSIOMA (2)", 0, 1);

      SetText(chartId, preamble + "W1_label_" + Symbol(),"W", xOffset, yOffset, textColor,fontSize);
      if ((tmpValue_1 > tmpValue_2 || !useSignalsRank) && tmpValue_1 > 80.0)
      {
         SetObjText(chartId, preamble + "square_W1_" + Symbol(),CharToStr(110), xOffset-xOutline, yOffset + fontSize + 4, clrLime,squareSize);
         if (tmpValue_1 > tmpValue_3)
         {
            SetObjText(chartId, preamble + "arrow_W1_" + Symbol(),CharToStr(233), xOffset + arrowOutlineX, yOffset + fontSize + squareSize * multiplier, clrLime,fontSize);
         }
         else if (tmpValue_1 < tmpValue_3)
         {
            SetObjText(chartId, preamble + "arrow_W1_" + Symbol(),CharToStr(234), xOffset + arrowOutlineX, yOffset + fontSize + squareSize * multiplier + yOffsetArrow, clrRed,fontSize);
         }
         else
         {
            SetObjText(chartId, preamble + "arrow_W1_" + Symbol(),CharToStr(243), xOffset + arrowOutlineX, yOffset + fontSize + squareSize * multiplier, clrOrange,fontSize);
         }
      }
      else if ((tmpValue_1 > tmpValue_2 || !useSignalsRank) && tmpValue_1 > 50.0)
      {
         SetObjText(chartId, preamble + "square_W1_" + Symbol(),CharToStr(110), xOffset-xOutline, yOffset + fontSize + 4, clrGreen,squareSize);
         if (tmpValue_1 > tmpValue_3)
         {
            SetObjText(chartId, preamble + "arrow_W1_" + Symbol(),CharToStr(233), xOffset + arrowOutlineX, yOffset + fontSize + squareSize * multiplier, clrLime,fontSize);
         }
         else if (tmpValue_1 < tmpValue_3)
         {
            SetObjText(chartId, preamble + "arrow_W1_" + Symbol(),CharToStr(234), xOffset + arrowOutlineX, yOffset + fontSize + squareSize * multiplier + yOffsetArrow, clrRed,fontSize);
         }
         else
         {
            SetObjText(chartId, preamble + "arrow_W1_" + Symbol(),CharToStr(243), xOffset + arrowOutlineX, yOffset + fontSize + squareSize * multiplier, clrOrange,fontSize);
         }
      }
      else if ((tmpValue_1 < tmpValue_2 || !useSignalsRank) && tmpValue_1 < 20.0)
      {
         SetObjText(chartId, preamble + "square_W1_" + Symbol(),CharToStr(110), xOffset-xOutline, yOffset + fontSize + 4, clrRed,squareSize);
         if (tmpValue_1 > tmpValue_3)
         {
            SetObjText(chartId, preamble + "arrow_W1_" + Symbol(),CharToStr(233), xOffset + arrowOutlineX, yOffset + fontSize + squareSize * multiplier , clrLime,fontSize);
         }
         else if (tmpValue_1 < tmpValue_3)
         {
            SetObjText(chartId, preamble + "arrow_W1_" + Symbol(),CharToStr(234), xOffset + arrowOutlineX, yOffset + fontSize + squareSize * multiplier + yOffsetArrow, clrRed,fontSize);
         }
         else
         {
            SetObjText(chartId, preamble + "arrow_W1_" + Symbol(),CharToStr(243), xOffset + arrowOutlineX, yOffset + fontSize + squareSize * multiplier, clrOrange,fontSize);
         }
      }
      else if ((tmpValue_1 < tmpValue_2 || !useSignalsRank) && tmpValue_1 < 50.0)
      {
         SetObjText(chartId, preamble + "square_W1_" + Symbol(),CharToStr(110), xOffset-xOutline, yOffset + fontSize + 4, clrOrange,squareSize);
         if (tmpValue_1 > tmpValue_3)
         {
            SetObjText(chartId, preamble + "arrow_W1_" + Symbol(),CharToStr(233), xOffset + arrowOutlineX, yOffset + fontSize + squareSize * multiplier, clrLime,fontSize);
         }
         else if (tmpValue_1 < tmpValue_3)
         {
            SetObjText(chartId, preamble + "arrow_W1_" + Symbol(),CharToStr(234), xOffset + arrowOutlineX, yOffset + fontSize + squareSize * multiplier + yOffsetArrow, clrRed,fontSize);
         }
         else
         {
            SetObjText(chartId, preamble + "arrow_W1_" + Symbol(),CharToStr(243), xOffset + arrowOutlineX, yOffset + fontSize + squareSize * multiplier, clrOrange,fontSize);
         }
      }
      else
      {
         SetObjText(chartId, preamble + "square_W1_" + Symbol(),CharToStr(110), xOffset-xOutline, yOffset + fontSize + 4, clrGray,squareSize);
         if (tmpValue_1 > tmpValue_3)
         {
            SetObjText(chartId, preamble + "arrow_W1_" + Symbol(),CharToStr(233), xOffset + arrowOutlineX, yOffset + fontSize + squareSize * multiplier , clrLime,fontSize);
         }
         else if (tmpValue_1 < tmpValue_3)
         {
            SetObjText(chartId, preamble + "arrow_W1_" + Symbol(),CharToStr(234), xOffset + arrowOutlineX, yOffset + fontSize + squareSize * multiplier + yOffsetArrow, clrRed,fontSize);
         }      
      }

      xOffset = xOffset + squareSize + squareSpace;
   }

   if (showDay)
   {
      tmpValue_1 = iCustom(Symbol(),PERIOD_D1,"RSIOMA (2)", 0, 0);
      tmpValue_2 = iCustom(Symbol(),PERIOD_D1,"RSIOMA (2)", 5, 0);
      tmpValue_3 = iCustom(Symbol(),PERIOD_D1,"RSIOMA (2)", 0, 1);

      SetText(chartId, preamble + "D1_label_" + Symbol(),"D", xOffset, yOffset, textColor,fontSize);
      if ((tmpValue_1 > tmpValue_2 || !useSignalsRank) && tmpValue_1 > 80.0)
      {
         SetObjText(chartId, preamble + "square_D1_" + Symbol(),CharToStr(110), xOffset-xOutline, yOffset + fontSize + 4, clrLime,squareSize);
         if (tmpValue_1 > tmpValue_3)
         {
            SetObjText(chartId, preamble + "arrow_D1_" + Symbol(),CharToStr(233), xOffset + arrowOutlineX, yOffset + fontSize + squareSize * multiplier, clrLime,fontSize);
         }
         else if (tmpValue_1 < tmpValue_3)
         {
            SetObjText(chartId, preamble + "arrow_D1_" + Symbol(),CharToStr(234), xOffset + arrowOutlineX, yOffset + fontSize + squareSize * multiplier + yOffsetArrow, clrRed,fontSize);
         }
         else
         {
            SetObjText(chartId, preamble + "arrow_D1_" + Symbol(),CharToStr(243), xOffset + arrowOutlineX, yOffset + fontSize + squareSize * multiplier, clrOrange,fontSize);
         }
      }
      else if ((tmpValue_1 > tmpValue_2 || !useSignalsRank) && tmpValue_1 > 50.0)
      {
         SetObjText(chartId, preamble + "square_D1_" + Symbol(),CharToStr(110), xOffset-xOutline, yOffset + fontSize + 4, clrGreen,squareSize);
         if (tmpValue_1 > tmpValue_3)
         {
            SetObjText(chartId, preamble + "arrow_D1_" + Symbol(),CharToStr(233), xOffset + arrowOutlineX, yOffset + fontSize + squareSize * multiplier, clrLime,fontSize);
         }
         else if (tmpValue_1 < tmpValue_3)
         {
            SetObjText(chartId, preamble + "arrow_D1_" + Symbol(),CharToStr(234), xOffset + arrowOutlineX, yOffset + fontSize + squareSize * multiplier + yOffsetArrow, clrRed,fontSize);
         }
         else
         {
            SetObjText(chartId, preamble + "arrow_D1_" + Symbol(),CharToStr(243), xOffset + arrowOutlineX, yOffset + fontSize + squareSize * multiplier, clrOrange,fontSize);
         }
      }
      else if ((tmpValue_1 < tmpValue_2 || !useSignalsRank) && tmpValue_1 < 20.0)
      {
         SetObjText(chartId, preamble + "square_D1_" + Symbol(),CharToStr(110), xOffset-xOutline, yOffset + fontSize + 4, clrRed,squareSize);
         if (tmpValue_1 > tmpValue_3)
         {
            SetObjText(chartId, preamble + "arrow_D1_" + Symbol(),CharToStr(233), xOffset + arrowOutlineX, yOffset + fontSize + squareSize * multiplier , clrLime,fontSize);
         }
         else if (tmpValue_1 < tmpValue_3)
         {
            SetObjText(chartId, preamble + "arrow_D1_" + Symbol(),CharToStr(234), xOffset + arrowOutlineX, yOffset + fontSize + squareSize * multiplier + yOffsetArrow, clrRed,fontSize);
         }
         else
         {
            SetObjText(chartId, preamble + "arrow_D1_" + Symbol(),CharToStr(243), xOffset + arrowOutlineX, yOffset + fontSize + squareSize * multiplier, clrOrange,fontSize);
         }
      }
      else if ((tmpValue_1 < tmpValue_2 || !useSignalsRank) && tmpValue_1 < 50.0)
      {
         SetObjText(chartId, preamble + "square_D1_" + Symbol(),CharToStr(110), xOffset-xOutline, yOffset + fontSize + 4, clrOrange,squareSize);
         if (tmpValue_1 > tmpValue_3)
         {
            SetObjText(chartId, preamble + "arrow_D1_" + Symbol(),CharToStr(233), xOffset + arrowOutlineX, yOffset + fontSize + squareSize * multiplier, clrLime,fontSize);
         }
         else if (tmpValue_1 < tmpValue_3)
         {
            SetObjText(chartId, preamble + "arrow_D1_" + Symbol(),CharToStr(234), xOffset + arrowOutlineX, yOffset + fontSize + squareSize * multiplier + yOffsetArrow, clrRed,fontSize);
         }
         else
         {
            SetObjText(chartId, preamble + "arrow_D1_" + Symbol(),CharToStr(243), xOffset + arrowOutlineX, yOffset + fontSize + squareSize * multiplier, clrOrange,fontSize);
         }
      }
      else
      {
         SetObjText(chartId, preamble + "square_D1_" + Symbol(),CharToStr(110), xOffset-xOutline, yOffset + fontSize + 4, clrGray,squareSize);
         if (tmpValue_1 > tmpValue_3)
         {
            SetObjText(chartId, preamble + "arrow_D1_" + Symbol(),CharToStr(233), xOffset + arrowOutlineX, yOffset + fontSize + squareSize * multiplier , clrLime,fontSize);
         }
         else if (tmpValue_1 < tmpValue_3)
         {
            SetObjText(chartId, preamble + "arrow_D1_" + Symbol(),CharToStr(234), xOffset + arrowOutlineX, yOffset + fontSize + squareSize * multiplier + yOffsetArrow, clrRed,fontSize);
         }
      }

      xOffset = xOffset + squareSize + squareSpace;
   }

   if (showH4)
   {
      tmpValue_1 = iCustom(Symbol(),PERIOD_H4,"RSIOMA (2)", 0, 0);
      tmpValue_2 = iCustom(Symbol(),PERIOD_H4,"RSIOMA (2)", 5, 0);
      tmpValue_3 = iCustom(Symbol(),PERIOD_H4,"RSIOMA (2)", 0, 1);

      SetText(chartId, preamble + "H4_label_" + Symbol(),"H4", xOffset, yOffset, textColor,fontSize);
      if ((tmpValue_1 > tmpValue_2 || !useSignalsRank) && tmpValue_1 > 80.0)
      {
         SetObjText(chartId, preamble + "square_H4_" + Symbol(),CharToStr(110), xOffset-xOutline, yOffset + fontSize + 4, clrLime,squareSize);
         if (tmpValue_1 > tmpValue_3)
         {
            SetObjText(chartId, preamble + "arrow_H4_" + Symbol(),CharToStr(233), xOffset + arrowOutlineX, yOffset + fontSize + squareSize * multiplier, clrLime,fontSize);
         }
         else if (tmpValue_1 < tmpValue_3)
         {
            SetObjText(chartId, preamble + "arrow_H4_" + Symbol(),CharToStr(234), xOffset + arrowOutlineX, yOffset + fontSize + squareSize * multiplier + yOffsetArrow, clrRed,fontSize);
         }
         else
         {
            SetObjText(chartId, preamble + "arrow_H4_" + Symbol(),CharToStr(243), xOffset + arrowOutlineX, yOffset + fontSize + squareSize * multiplier, clrOrange,fontSize);
         }
      }
      else if ((tmpValue_1 > tmpValue_2 || !useSignalsRank) && tmpValue_1 > 50.0)
      {
         SetObjText(chartId, preamble + "square_H4_" + Symbol(),CharToStr(110), xOffset-xOutline, yOffset + fontSize + 4, clrGreen,squareSize);
         if (tmpValue_1 > tmpValue_3)
         {
            SetObjText(chartId, preamble + "arrow_H4_" + Symbol(),CharToStr(233), xOffset + arrowOutlineX, yOffset + fontSize + squareSize * multiplier, clrLime,fontSize);
         }
         else if (tmpValue_1 < tmpValue_3)
         {
            SetObjText(chartId, preamble + "arrow_H4_" + Symbol(),CharToStr(234), xOffset + arrowOutlineX, yOffset + fontSize + squareSize * multiplier + yOffsetArrow, clrRed,fontSize);
         }
         else
         {
            SetObjText(chartId, preamble + "arrow_H4_" + Symbol(),CharToStr(243), xOffset + arrowOutlineX, yOffset + fontSize + squareSize * multiplier, clrOrange,fontSize);
         }
      }
      else if ((tmpValue_1 < tmpValue_2 || !useSignalsRank) && tmpValue_1 < 20.0)
      {
         SetObjText(chartId, preamble + "square_H4_" + Symbol(),CharToStr(110), xOffset-xOutline, yOffset + fontSize + 4, clrRed,squareSize);
         if (tmpValue_1 > tmpValue_3)
         {
            SetObjText(chartId, preamble + "arrow_H4_" + Symbol(),CharToStr(233), xOffset + arrowOutlineX, yOffset + fontSize + squareSize * multiplier , clrLime,fontSize);
         }
         else if (tmpValue_1 < tmpValue_3)
         {
            SetObjText(chartId, preamble + "arrow_H4_" + Symbol(),CharToStr(234), xOffset + arrowOutlineX, yOffset + fontSize + squareSize * multiplier + yOffsetArrow, clrRed,fontSize);
         }
         else
         {
            SetObjText(chartId, preamble + "arrow_H4_" + Symbol(),CharToStr(243), xOffset + arrowOutlineX, yOffset + fontSize + squareSize * multiplier, clrOrange,fontSize);
         }
      }
      else if ((tmpValue_1 < tmpValue_2 || !useSignalsRank) && tmpValue_1 < 50.0)
      {
         SetObjText(chartId, preamble + "square_H4_" + Symbol(),CharToStr(110), xOffset-xOutline, yOffset + fontSize + 4, clrOrange,squareSize);
         if (tmpValue_1 > tmpValue_3)
         {
            SetObjText(chartId, preamble + "arrow_H4_" + Symbol(),CharToStr(233), xOffset + arrowOutlineX, yOffset + fontSize + squareSize * multiplier, clrLime,fontSize);
         }
         else if (tmpValue_1 < tmpValue_3)
         {
            SetObjText(chartId, preamble + "arrow_H4_" + Symbol(),CharToStr(234), xOffset + arrowOutlineX, yOffset + fontSize + squareSize * multiplier + yOffsetArrow, clrRed,fontSize);
         }
         else
         {
            SetObjText(chartId, preamble + "arrow_H4_" + Symbol(),CharToStr(243), xOffset + arrowOutlineX, yOffset + fontSize + squareSize * multiplier, clrOrange,fontSize);
         }
      }
      else
      {
         SetObjText(chartId, preamble + "square_H4_" + Symbol(),CharToStr(110), xOffset-xOutline, yOffset + fontSize + 4, clrGray,squareSize);
         if (tmpValue_1 > tmpValue_3)
         {
            SetObjText(chartId, preamble + "arrow_H4_" + Symbol(),CharToS

Показано первые 50% кода (символов: 31266)

Открыть по тарифу

Купите тариф с пакетом открытий или войдите, если тариф уже есть. Открытый файл останется в вашем кабинете навсегда.

Разовая покупка файла

На этой странице откроется полный исходный код файла вместо ознакомительного фрагмента.

Чтобы оформить заказ, введите email и перейдите к оплате.

Стоимость полного кода
3 126,60₽ ≈ $38.21