Babagan Kurbanov / Profile
- Information
|
9+ years
experience
|
0
products
|
0
demo versions
|
|
0
jobs
|
0
signals
|
0
subscribers
|
Friends
156
Requests
Outgoing
Babagan Kurbanov
//+------------------------------------------------------------------+
//| SMC_Toolkit.mq5 |
//| Mr. Casino Strategy - Liquidity Module (MT5) |
//+------------------------------------------------------------------+
#property indicator_chart_window
#property indicator_buffers 0
#property indicator_plots 0
// === НАСТРОЙКИ ПОЛЬЗОВАТЕЛЯ ===
input bool ShowLiquidity = true; // Показывать ликвидность
input ENUM_TIMEFRAMES LiquidityTF = PERIOD_H1; // Таймфрейм для анализа
input int MaxLiquidityLevels = 10; // Максимум уровней на графике
input color LiquidityColorUp = clrBlue; // Цвет LQ↑
input color LiquidityColorDown = clrRed; // Цвет LQ↓
input bool ShowLabels = true; // Подписи LQ↑ / LQ↓
// === ВНУТРЕННИЕ МАССИВЫ ===
double lq_up_levels[10];
double lq_down_levels[10];
//+------------------------------------------------------------------+
//| ИНИЦИАЛИЗАЦИЯ |
//+------------------------------------------------------------------+
int OnInit()
{
IndicatorShortName("SMC Toolkit - Liquidity Zones");
return(INIT_SUCCEEDED);
}
//+------------------------------------------------------------------+
//| ОСНОВНОЙ РАСЧЁТ |
//+------------------------------------------------------------------+
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[])
{
if (!ShowLiquidity) return(rates_total);
int found = 0;
int bars = iBars(NULL, LiquidityTF);
ArrayInitialize(lq_up_levels, 0);
ArrayInitialize(lq_down_levels, 0);
for (int i = 1; i < bars - 5 && found < MaxLiquidityLevels; i++)
{
double high1 = iHigh(NULL, LiquidityTF, i);
double high2 = iHigh(NULL, LiquidityTF, i + 1);
double low1 = iLow(NULL, LiquidityTF, i);
double low2 = iLow(NULL, LiquidityTF, i + 1);
// --- Двойная вершина
if (MathAbs(high1 - high2) < _Point * 10)
{
double level = high1;
lq_up_levels[found] = level;
string name = "LQ_Up_" + IntegerToString(i);
DrawLevel(name, level, LiquidityColorUp, STYLE_DASH, ShowLabels ? "LQ↑" : "");
found++;
}
// --- Двойное дно
if (MathAbs(low1 - low2) < _Point * 10 && found < MaxLiquidityLevels)
{
double level = low1;
lq_down_levels[found] = level;
string name = "LQ_Down_" + IntegerToString(i);
DrawLevel(name, level, LiquidityColorDown, STYLE_DASH, ShowLabels ? "LQ↓" : "");
found++;
}
}
return(rates_total);
}
//+------------------------------------------------------------------+
//| ФУНКЦИЯ ОТРИСОВКИ УРОВНЯ |
//+------------------------------------------------------------------+
void DrawLevel(string name, double price, color clr, ENUM_LINE_STYLE style, string label)
{
if (ObjectFind(0, name) < 0)
{
ObjectCreate(0, name, OBJ_HLINE, 0, 0, price);
ObjectSetInteger(0, name, OBJPROP_COLOR, clr);
ObjectSetInteger(0, name, OBJPROP_STYLE, style);
ObjectSetInteger(0, name, OBJPROP_WIDTH, 1);
ObjectSetInteger(0, name, OBJPROP_SELECTABLE, false);
if (label != "")
ObjectSetString(0, name, OBJPROP_TEXT, label);
}
}
//| SMC_Toolkit.mq5 |
//| Mr. Casino Strategy - Liquidity Module (MT5) |
//+------------------------------------------------------------------+
#property indicator_chart_window
#property indicator_buffers 0
#property indicator_plots 0
// === НАСТРОЙКИ ПОЛЬЗОВАТЕЛЯ ===
input bool ShowLiquidity = true; // Показывать ликвидность
input ENUM_TIMEFRAMES LiquidityTF = PERIOD_H1; // Таймфрейм для анализа
input int MaxLiquidityLevels = 10; // Максимум уровней на графике
input color LiquidityColorUp = clrBlue; // Цвет LQ↑
input color LiquidityColorDown = clrRed; // Цвет LQ↓
input bool ShowLabels = true; // Подписи LQ↑ / LQ↓
// === ВНУТРЕННИЕ МАССИВЫ ===
double lq_up_levels[10];
double lq_down_levels[10];
//+------------------------------------------------------------------+
//| ИНИЦИАЛИЗАЦИЯ |
//+------------------------------------------------------------------+
int OnInit()
{
IndicatorShortName("SMC Toolkit - Liquidity Zones");
return(INIT_SUCCEEDED);
}
//+------------------------------------------------------------------+
//| ОСНОВНОЙ РАСЧЁТ |
//+------------------------------------------------------------------+
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[])
{
if (!ShowLiquidity) return(rates_total);
int found = 0;
int bars = iBars(NULL, LiquidityTF);
ArrayInitialize(lq_up_levels, 0);
ArrayInitialize(lq_down_levels, 0);
for (int i = 1; i < bars - 5 && found < MaxLiquidityLevels; i++)
{
double high1 = iHigh(NULL, LiquidityTF, i);
double high2 = iHigh(NULL, LiquidityTF, i + 1);
double low1 = iLow(NULL, LiquidityTF, i);
double low2 = iLow(NULL, LiquidityTF, i + 1);
// --- Двойная вершина
if (MathAbs(high1 - high2) < _Point * 10)
{
double level = high1;
lq_up_levels[found] = level;
string name = "LQ_Up_" + IntegerToString(i);
DrawLevel(name, level, LiquidityColorUp, STYLE_DASH, ShowLabels ? "LQ↑" : "");
found++;
}
// --- Двойное дно
if (MathAbs(low1 - low2) < _Point * 10 && found < MaxLiquidityLevels)
{
double level = low1;
lq_down_levels[found] = level;
string name = "LQ_Down_" + IntegerToString(i);
DrawLevel(name, level, LiquidityColorDown, STYLE_DASH, ShowLabels ? "LQ↓" : "");
found++;
}
}
return(rates_total);
}
//+------------------------------------------------------------------+
//| ФУНКЦИЯ ОТРИСОВКИ УРОВНЯ |
//+------------------------------------------------------------------+
void DrawLevel(string name, double price, color clr, ENUM_LINE_STYLE style, string label)
{
if (ObjectFind(0, name) < 0)
{
ObjectCreate(0, name, OBJ_HLINE, 0, 0, price);
ObjectSetInteger(0, name, OBJPROP_COLOR, clr);
ObjectSetInteger(0, name, OBJPROP_STYLE, style);
ObjectSetInteger(0, name, OBJPROP_WIDTH, 1);
ObjectSetInteger(0, name, OBJPROP_SELECTABLE, false);
if (label != "")
ObjectSetString(0, name, OBJPROP_TEXT, label);
}
}
Babagan Kurbanov
Мои подборки XRP/USD не вариант судится может провалится до 0.01 само название мне не нравятся рипл как мёртвый
Babagan Kurbanov
Прогноз ефирума после пробоя 1500 ждём резкий рост 2000 и до 3000 в конце года можем увидеть 15000 за ефир
ETH/USD
ETH/USD
Babagan Kurbanov
В Европе и Британии локдаун по этому продажи евро и фунта )))) 1.2230 вниз 1.1925 и 1.1770
По фунту 1.3570 вниз 1.3350
По фунту 1.3570 вниз 1.3350
Babagan Kurbanov
У эпл 15 го числа презентация возможно красный фонари а телслы начнем зелёный свет на всех дорогах.
Ваш аналитик Роман Курбанов
Ваш аналитик Роман Курбанов
: