Pro support resistance ea

MQL4 エキスパート

仕事が完了した

実行時間8 分
依頼者からのフィードバック
Reliable service
開発者からのフィードバック
thank you :)

指定

2 sessions  , 2 magics  using the enclosed free indicators, fully commented . martingale , supports resistances using ma support  and 4 hour daily support  CANDLES  .ADD 3 to 4 custom indicators   :see list

 


Long entry : full 30 min bar  LOW  close above resistance on 4 h 

short entry: full 30 min bar  HIGH  close below support on 4 h

Need price estimate to include ma filter 



Code lwma filter 

input bool UseLWMAFilter=true;(Before opening a trade ea will look for following filters for rising and falling , if above lwmas it is rising signal , if below lwmas it is falling signal.

if(UseLWMAFilter)

{

double _lwma8 = iMA(symbol, PERIOD_M30, 8, 0, MODE_LWMA, PRICE_CLOSE, 0);

double _lwma18 = iMA(symbol, PERIOD_M30, 18, 0, MODE_LWMA, PRICE_CLOSE, 0);

double _lwma30 = iMA(symbol, PERIOD_M30, 30, 0, MODE_LWMA, PRICE_CLOSE, 0);

if(_lwma8 <= _lwma18 || _lwma18 <= _lwma30) _short= true;

if(_lwma8 >= _lwma18 || _lwma18 >= _lwma30) _long = true;

double _lwma2 = iMA(symbol, PERIOD_M5, 2, 0, MODE_LWMA, PRICE_CLOSE, 0);

double _lwma60 = iMA(symbol, PERIOD_M5, 60, 0, MODE_LWMA, PRICE_CLOSE, 0);

double _lwma120 = iMA(symbol, PERIOD_M5, 120, 0, MODE_LWMA, PRICE_CLOSE, 0);

if(_lwma2 <= _lwma60 || _lwma60 <= _lwma120) _short = true;

if(_lwma2 >= _lwma60 || _lwma60 >= _lwma120) _long = true;

}

 

 

 

buy when resistance becomes support and support becomes resistance sell 

 need procoder /modular design  (no hacks of mql5  for real accounts)

Don't like coders who take short cuts   , as it is more expensive in long run 

 

 


//--- Standard parameters

extern double    Lots          = 0.2;

extern double    TradeMaxRisk  = 2;    // TradeMaxRisk > 0 so much % risk will be used, either based on SL or Account equity

extern bool      AutoLot       = false;

extern bool      UseAdvancedMM = true;

extern double    AdvancedMMPincrement = 33.0; // Increase 30% position after each loose

extern int       AdvancedMMaxConsecutiveTrades = 35;

 

session1  

extern int       StopLossFirst1  = 600; // 0 deactivates Stop Loss

extern int       StopLossSecond1 = 300;

extern bool      AllowSecond   = false;

extern int       StartTrail1   = 250;    // Start trail after so many pips.

extern int       TrailingStop1 = 200;    // 0 deactivates Trailing Stop

extern int       TrailStep1    = 10;    // With which increments TS moves

// Proportional stop

extern int       PropStop1               = 500;              // PropStop follows behind current price by X pips

extern int       StartPosition1          = 370;              // Pips profit at which to begin trailing with PropStop

extern double    IncrementPercentage1    = 2;              // Each pip of profit changes the PropStop value by X percent

extern int       MinStopValue1           = 100;             // PropStop cannot be less than X

extern int       TakeProfit1   = 200;    // 0 deactivates Take Profit

extern int       GainForBE1    = 200;    // How many pips will trigger Break Even. 0 deactivates.

extern int       PipsBE1       = 20;    // Level at which Break Even will be put

extern int       StartTime1    = 100;  // Start trading at 7:00

extern int       StopTime1     = 800; // Stop trading at 23:00; Set to StartTime for continous operation (default).

extern int       PipGap1       = 20;   // Pip gap between first and second entry

extern int       TimeGap1      = 30;   // Time gap between first and second entry of 30 min

extern int       PipsLongEntry1  = -10;

extern int       PipsShortEntry1 =  10;


session2

extern int       StopLossFirst2  = 300; // 0 deactivates Stop Loss

extern int       StopLossSecond2 = 300;

extern int       StartTrail2   = 350;    // Start trail after so many pips.

extern int       TrailingStop2 = 250;    // 0 deactivates Trailing Stop

extern int       TrailStep2    = 30;    // With which increments TS moves

extern int       PropStop2               = 500;              // PropStop follows behind current price by X pips

extern int       StartPosition2          = 1650;              // Pips profit at which to begin trailing with PropStop

extern double    IncrementPercentage2    = 2;              // Each pip of profit changes the PropStop value by X percent

extern int       MinStopValue2           = 100;             // PropStop cannot be less than X

extern int       TakeProfit2   = 200;    // 0 deactivates Take Profit

extern int       GainForBE2    = 300;    // How many pips will trigger Break Even. 0 deactivates.

extern int       PipsBE2       = 20;    // Level at which Break Even will be put

extern int       StartTime2    = 900;  // Start trading at 7:00

extern int       StopTime2     = 1800;  // Stop trading at 23:00; Set to StartTime for continous operation (default).

extern int       PipGap2       = 100;   // Pip gap between first and second entry

extern int       TimeGap2      = 30;   // Time gap between first and second entry of 30 min

extern int       PipsLongEntry2  = -20;

extern int       PipsShortEntry2 =  20;


extern string    closing="==== Close Times ====";

extern bool      CloseOnTime             = true;

extern int       ClosingTime             = 1900;


extern bool      EnableExitManager       = true;

extern double    OldSwapLong      =  1.0;

extern double    OldSwapShort     = -1.0;

extern int       RangeDeviation   = 1;

extern bool      UseProbCountsFilter = false;

extern bool      UseMSSIFilter       = false;

extern bool      UsePriceFilter      = true;

extern bool      UseLWMAFilter       = false;

extern int       MinimumPreviousRange = 20;

extern string    NameLogFile="logMC";

extern string    NameLogFile2="logMC3";

extern bool      UsejoyFilter = false;

extern int       joysell      = -20;

extern int       joybuy       = 20;

extern bool      UseStochtb15mfilter=false;

extern int       StochUpperLevel=20;

extern int       StochLowerLevel=-20;

extern bool      UseSMSIPT1=true;

extern int       MSIPT1UpperLevel=20;

extern int       MSIPT1LowerLevel=-20;

extern bool      Disable_Comments = false;          // EA will not display comments on screen

//---- Debugging

extern bool      DoScreenShots = true; // Makes screen shots when a trade is open


extern int       ExpertID1 = 28105;

extern int       ExpertID2 = 28106;

ファイル:

JPG
sr___ea.jpg
249.6 Kb

応答済み

1
開発者 1
評価
(41)
プロジェクト
72
8%
仲裁
18
11% / 56%
期限切れ
18
25%
2
開発者 2
評価
(90)
プロジェクト
159
61%
仲裁
40
18% / 63%
期限切れ
70
44%
3
開発者 3
評価
(257)
プロジェクト
341
58%
仲裁
7
14% / 71%
期限切れ
9
3%
類似した注文
I need an ea send news low medium or high to my telegram channel or group with topic news news news news news n n n j j i i i o
Hello, I want this project to be a complete redesign, not just an update. My goal is to build an institutional-grade TradingView indicator that is extremely accurate, stable, fast, and completely non-repainting. You are free to modify, delete, replace, or completely rewrite any part of the code if it improves the final result. I don't care about preserving the current code or appearance—I only care about building the
I have few EAs that I want to place on market, but I can't due to some errors, please help me, because I am not a programmer. Source of code required, bug free version, ony my computer it must works not only on your computer
Hello dear all developers, I will find here python programmers? I would like to create an Expert Advisor, if you can you can convert, because I already have Expert Advisor written in mql5 or maybe you will create a bridge? it's up to you, but I need 1:1 copy
Hello! I am searching a professional programmer for regular works. I don't care if you have 1 projects done or 1000, show me your skills. I need to create an EA based on Zig Zag indicator and candlestick patterns, EA must works on all time frames, source of code required
My EA have bug 30+ USD
Expert Advisor have a bug, I tried to fix it somehow with searching on google, but I couldn't fix find a solution. Please fix it, I will send you erorr type, what line etc. Only serious programmers, not amateur please. My time is precious
//+------------------------------------------------------------------+ //| DX_Structure_H1.mq5 | //| Copyright 2026, Seu Nome | //| https://www.mql5.com | //+------------------------------------------------------------------+ #property copyright "Copyright 2026" #property link " https://www.mql5.com " #property version "1.00" #property strict // Parâmetros de Entrada input string InpSymbol = "DX.F"; // Nome do Ativo
{ "strategy_name": "M5 EMA Scalper", "timeframe": "M5", "indicators": { "ema_fast": 20, "ema_slow": 50, "rsi": 14, "atr": 14 }, "entry_rules": { "buy": [ "EMA20 > EMA50", "Price closes above EMA20", "RSI > 55" ], "sell": [ "EMA20 < EMA50", "Price closes below EMA20", "RSI < 45" ] }, "risk_management": { "risk_per_trade": 1.0, "stop_loss_atr": 1.5, "take_profit_rr": 2.0
Hola, traders e inversores: Desarrollamos soluciones de trading algorítmico para MetaTrader 4 y MetaTrader 5. Creamos bots, indicadores y herramientas a medida que convierten estrategias manuales en sistemas automáticos, configurables y orientados a una gestión de riesgo sólida. Hemos trabajado en automatizaciones que integran entradas y salidas por reglas, cálculo de lotaje, control de drawdown, filtros de horario y
Hello All, can someone help me to make an EA base on MACD, https://www.mql5.com/en/code/14669 and RSI. If you are able to make this than please get me in touch, i will appreciated Thanks and best Regards Kodj007

プロジェクト情報

予算