Liquidity hunt

指定

//+------------------------------------------------------------------+
//|                                       Liquidity Hunt            |
//|                    Generated by ChatGPT on MetaTrader 5          |
//+------------------------------------------------------------------+
#property strict

double sellside_liquidity, buyside_liquidity, price_up, price_down;

//+------------------------------------------------------------------+
//| Expert initialization function                                   |
//+------------------------------------------------------------------+
int OnInit()
  {
   return(INIT_SUCCEEDED);
  }
//+------------------------------------------------------------------+
//| Expert tick function                                             |
//+------------------------------------------------------------------+
void OnTick()
  {
   // Calculate ATR
   double atrValue = iATR(_Symbol, 0, 14);

   // Example logic for daily bias
   double closeValue = iClose(_Symbol, 0, 0);
   bool longCondition = sellside_liquidity != 0 && closeValue > sellside_liquidity;
   bool shortCondition = buyside_liquidity != 0 && closeValue < buyside_liquidity;

   if (longCondition)
     {
      // Example logic for price move up based on sellside liquidity
      price_up = closeValue + atrValue;
      // Execute a long trade here if needed
      OrderSend(_Symbol, OP_BUY, 0.1, price_up, 3, 0, 0, "Long Entry", 0, 0, clrGreen);
     }
   else if (shortCondition)
     {
      // Example logic for price move down based on buyside liquidity
      price_down = closeValue - atrValue;
      // Execute a short trade here if needed
      OrderSend(_Symbol, OP_SELL, 0.1, price_down, 3, 0, 0, "Short Entry", 0, 0, clrRed);
     }
  }
//+------------------------------------------------------------------+

反馈

1
开发者 1
等级
(8)
项目
23
30%
仲裁
1
0% / 0%
逾期
1
4%
已载入
2
开发者 2
等级
(173)
项目
222
58%
仲裁
7
29% / 29%
逾期
7
3%
工作中
3
开发者 3
等级
(138)
项目
199
80%
仲裁
17
29% / 47%
逾期
10
5%
工作中
4
开发者 4
等级
(19)
项目
23
48%
仲裁
4
0% / 100%
逾期
2
9%
工作中
5
开发者 5
等级
项目
0
0%
仲裁
1
0% / 0%
逾期
0
工作中
6
开发者 6
等级
(191)
项目
195
27%
仲裁
0
逾期
3
2%
空闲
7
开发者 7
等级
(42)
项目
111
57%
仲裁
2
50% / 0%
逾期
3
3%
空闲
8
开发者 8
等级
(251)
项目
402
38%
仲裁
82
41% / 20%
逾期
70
17%
已载入
9
开发者 9
等级
(5)
项目
4
50%
仲裁
4
0% / 75%
逾期
0
空闲
10
开发者 10
等级
(561)
项目
928
48%
仲裁
301
59% / 25%
逾期
123
13%
已载入
相似订单
I need a mt5 robot which: -Trades executed during London and NY session only -Limits canceled + positions derisked if upcoming high impact news - Use entire range order blocks - Use closes to ensure displacement -3R minimum -No breakeven stops if trade under 5R. If trade is above -5R, trim 30% at 3R to de-risk 1% risk per trade CONDITIONS 1. Draw Weekly + Daily Structure with premium/discount, Order Blocks and
My sample pack 30+ USD
Try good luck have fun enjoy 👍 I hope I'm doing it right after losing so much. If anyone can help out, it would be much appreciated. I really need this to work this time 🙏 👍
Project Description: I have a Pine Script indicator used for trading any forex and/or stock instrument based on various time frames. I need to convert this indicator into an Expert Advisor for MetaTrader 4 or MetaTrader 5. The EA should replicate the functionality and logic of the Pine Script indicator, including all the parameters, conditions, and alerts. Below is the detailed description of the Pine Script code and
I have an EA and the code for the same , I want a particular option to be added to this EA. The option to be added is to do the below logic. Inputs to be added. Calculation Type 1) Percentage of Profit on Number of trades. Input Percentage 1) Percentage of Profit in % 2) Percentage of Loss in % Logic Check. 1) Count number of Buy / Sell open orders separately. 2) Check for Each buy / Sell positions , how many are in
Please make a new pending order software and add it to the each of the Ea's that I would send the source codes. If any of the settings of the usual pattern of the Ea's have there in the EA's are not clear to you, then I will explain that part
Just have a look make it better enjoy and have fun 😊 this is the first time I am trying this, I got ripped off 3 times before. I hope this time works with all your help. Thank you kindly
I will provide pine script and need to convert it as a mql4 EA. The system is based on swing highs and lows. If you interested please knock me, Thank you
I want an Indicator that : Draws vertical lines at the opening of candles on a time frames selected.( I want to be able change the candle timeframe the line will be drawn. Eg. I can slelect 1H, 4H etc from the settings, and the vertical line will be drawn at the opening). Draw a horizontal line at the opening of the candles in the selected timeframe. Calculate the average range of the candles on a selected timeframe
Hello, I need an EA for both MQL4 and MQL5 that complies with the following rules; A maximum daily drawdown of 4%. This means it should close all trades after a 4% loss and not trade for the rest of the day. It should not use martingale, No grid trading, No trade stacking (opening three or more trades at the same time in the same direction), trades should spends minutes before closing. The EA should also be able to
Hello I am new to MT4/MT5, I previously traded for a company with their own internal execution platform. I am looking for someone who can help me understand MT5, how to set up charts, indicators, advisors and back-testing etc.. basically a intro to a new user. I am particularly interested in learning is it possible to trade/execute spreads via MT5 - ie simultaneously buy MSFT and sell DELL, and when you trade out you

项目信息

预算
30+ USD
开发人员
27 USD