A Script based on High, Low and Close manual input prices

MQL5 Uzmanlar Komut dosyaları

İş tamamlandı

Tamamlanma süresi: 1 gün

Şartname

I want to contract the development of a script, where

I wanna manually insert the following parameters (I predict for the candle (0))

And after set a hot-key to run the script:



Definitions

 

H = (High) =          input

L = (Low) =           input

C = (Close) =         input

decimals = 3         (input)

tolerance = 0.001    (input)

toleranceTP = 0.0005 (input)

ForceBull = 2        (input)

ForceBear = -1       (input)

LotSize = 0.10       (input)


 

Script Start()

 

if (Open[0]) < (Close[0])    

AND (ForceBar > ForceBull)

AND (Open[0] < HMin)

1.: OpenBuy (1 per candle), TP[TPH]

AND (Close[0] > LMax)

2.: OpenBuy Limit [LMax], TP[C]

AND (Open[0] > LMax)

3.: OpenSell Limit [HMin], TP[TPL]

 

 

if ((Open[0]) > (Close[0]))

AND (ForceBar < ForceBear)

AND (Open[0] > LMax) 

1:. OpenSell (1 per candle), TP[TPL]

AND ((Open[0] < HMin) OR (Close[0] < HMin))

2:. OpenSell Limit [HMin], TP[C]

AND ((Open[0] < HMin) OR (Open[0] > LMax))

3:. OpenBuy Limit [LMax], TP[TPH]



Where: 

HMax = NormalizeDouble(H , decimals) + tolerance; 

HMin = NormalizeDouble(H , decimals) - tolerance; 

LMax = NormalizeDouble(L , decimals) + tolerance; 

LMin = NormalizeDouble(L , decimals) - tolerance; 



TPH = HMin - toleranceTP

TPL = LMax + toleranceTP


ForceBar = iForce(NULL, PERIOD_CURRENT, 1, MODE_EMA, PRICE_CLOSE, 0)


Yanıtlandı

1
Geliştirici 1
Derecelendirme
(618)
Projeler
1428
59%
Arabuluculuk
31
81% / 0%
Süresi dolmuş
10
1%
Serbest
2
Geliştirici 2
Derecelendirme
(132)
Projeler
178
39%
Arabuluculuk
4
25% / 50%
Süresi dolmuş
14
8%
Serbest
3
Geliştirici 3
Derecelendirme
(38)
Projeler
50
10%
Arabuluculuk
1
0% / 0%
Süresi dolmuş
8
16%
Serbest
4
Geliştirici 4
Derecelendirme
(15)
Projeler
23
9%
Arabuluculuk
7
29% / 57%
Süresi dolmuş
2
9%
Serbest
5
Geliştirici 5
Derecelendirme
(568)
Projeler
641
41%
Arabuluculuk
25
48% / 36%
Süresi dolmuş
46
7%
Çalışıyor
6
Geliştirici 6
Derecelendirme
(33)
Projeler
35
40%
Arabuluculuk
11
9% / 91%
Süresi dolmuş
4
11%
Serbest
Yayınlandı: 4 kod
7
Geliştirici 7
Derecelendirme
(69)
Projeler
146
34%
Arabuluculuk
13
8% / 62%
Süresi dolmuş
26
18%
Serbest
Yayınlandı: 6 kod
Benzer siparişler
i have a tradingview simple indecator of 40 lines of code ,i want it to convert it into mt5 EA strategy details given below AUTOMATED TRADING STRATEGY Multi-Lot Execution & Dynamic Trailing Stop Logic System Architecture & Operational Rules Trading Bot Strategy Profile Entry Conditions Buy Logic • • • Wait for Buy Signal candle. Confirmation: Future candle must break the signal high. Execution: Open 2 orders of 0.01
HFT Directional Grid Scalper (Simple, Training Project) Overview We are looking for a developer to create a high-frequency grid scalper with a simple, deterministic logic. This is not a complex bot — the goal is to have a clean implementation for training, testing, and educational purposes. The bot should: Continually open trades in one direction only (BUY or SELL) Use ATR-based grid spacing Maintain a fixed
I want a accurate indicator with buy and sell arrows or circle.. with exit points which trade xauusd and btcusd via weekend ... for small like R100 or 500 .... like which can grow small accounts with ... on for serious developer.. no bullshit ... I need on Friday please
I'd like to automate a relatively simple strategy in Sierra Chart, but I'd like to have it backtested and optimized first. Could we collaborate on this, and what would the cost be? Only bid if you think you can handle this project, and I want expert in sierra chart.. Thanks
I need an EMA crossover EA specifically for Boom and Crash. It should automatically buy and sell when crossovers happen. I want adjustable inputs for lot size, timeframe, and maximum loss. I’m keeping it simple because I’ve had bad experiences with EAs before. It should do only the job it is built for, properly and reliably. need someone who have already build EA or Indicator for Boom and Crash befor atleast 10
//+------------------------------------------------------------------+ //| ProTradingEA MT5 | //| Fully MT5-compliant with MACD, Trailing Stop, Break-Even | //+------------------------------------------------------------------+ #include <Trade\Trade.mqh> CTrade trade; // Optional override input string SymbolOverride = ""; // leave blank to auto-detect struct EASettings { int
I have access to an MT5 account. I have investor access. I would like to know if someone could help me create a bot that copies only the trades made on XAU/USD in that account but in my MT4 account. In that account, many trades are made across various pairs, and I realize that the conditions of their account are not very favorable for the type of trading they do, as the commissions are very high. I have an account
Good day, I would like to have an expert advisor for my MT4 indicator (Major key alert) that can scan and provide push notification messages for entry opportunities across different time frames when a when a signal is identified
"I need an MT5 EA based on price action — liquidity sweep + hammer/shooting star reversal strategy. TREND: Identified by HH/HL for uptrend, LL/LH for downtrend on selected timeframe. No trade in ranging conditions. BUY SETUP: In uptrend, price retraces to swing low zone, wicks below it (liquidity sweep), hammer forms (lower wick min 2x body, closes above swept low). Buy stop entry at hammer high. SL below hammer
I need a professional MQL5 developer to finalize a Gold (XAUUSD) trading bot. The core layering and support-filter logic is already drafted. Key Requirements: Refine a hybrid Martingale/Layering volume calculation (1-10 / 11-20 reset logic). Implement a robust "Safety Mode" based on Daily Low price breaks. Ensure precise 6:00 AM Server Time reset for logic variables. Add professional error handling (Slippage

Proje bilgisi

Bütçe
30 - 40 USD
Son teslim tarihi
from 1 to 2 gün