Create EA to trade Blind Straddle Strategy

MQL4 EA Forex

작업 종료됨

실행 시간 19 일

명시

This is the Blind Straddle EA.

EA  waits for the 8am hourly candlestick to close at 9am. (ALL TIMES GMT not brokers time)

Or waits for the 8am candle to get to 8:30 AM in the M30 chart

Timeframe is either the T60 or the M30 chart

 

Step 1

Place a 10 pip LIMIT BUY Order above the one-hour 8:00am GMT candlestick wick high after it closes at 9 am

 

Step 2

Place an LIMIT SELL Order -10 pips below the one hour 8:00am GMT closed candlestick wick low after it closes at 9 am


Step 3

Once you are in the market, cancel the opposite order.

This is known as a OCO (One cancels the Other) order because once one is activated, the other order is cancelled.


Step 4

Set the Stop Loss according to the usual calculation of using ATR (X) where ATR(X) will indicate the daily range.


Step 5

Set the reward at 2.083 x stop loss pips from your market SELL or BUY order.

Exit the market when Profit = Stop Loss X 2.083

Take Profit is a multiple of Stop Loss (1.2 x SL) or a percentage of Profit Target i.e. 50% of Profit

Exit

When profit target is reached; exit market

If an OP_BUY/SELL_4 alert contrary to the trend is issued; exit the market.

Usually any OP_BUY/SELL_4 alert issued after the trade will usually signal an exit as they are always contrary to the trend.


CODING INSTRUCTIONS

Note that you are only READING the alert not coding for it.

You are using the alert as a warning system. 


The coding for the indicator is to be done using the iCustom MT code:

//---- Step 1: Define constants in your EA


#define OP_BUY_4        10    // Bullish Correction during Downtrend (blue dash)

#define OP_SELL_4       11    // Bearish Correction during Uptrend (red dash)


//---- Step 2: Read values from the signal buffer

int start()

{

// Read signal for this bar

double value = iCustom(Symbol(), Period(), "Marketpz-trend-trading", 10, 1);

// Do something


if(value == OP_BUY_4) { /* Your code for bullish correction */ }

if(value == OP_SELL_4){ /* Your code for bearish correction */ }

if(value == EMPTY_VALUE) { /* Your code if no signal */}

// Exit

return(0);

}


Please see attached strategy

Please note that the comment field is very important as well.

응답함

1
개발자 1
등급
(258)
프로젝트
269
29%
중재
2
50% / 0%
기한 초과
3
1%
작업중
게재됨: 2 코드
2
개발자 2
등급
(88)
프로젝트
143
39%
중재
21
19% / 48%
기한 초과
30
21%
무료
3
개발자 3
등급
(213)
프로젝트
246
45%
중재
42
10% / 57%
기한 초과
5
2%
무료
4
개발자 4
등급
(117)
프로젝트
138
41%
중재
30
7% / 77%
기한 초과
17
12%
무료
5
개발자 5
등급
(636)
프로젝트
1008
47%
중재
33
36% / 36%
기한 초과
99
10%
작업중
게재됨: 6 코드
6
개발자 6
등급
(221)
프로젝트
369
66%
중재
10
50% / 0%
기한 초과
46
12%
무료
비슷한 주문
I need an MT5 Expert Advisor (EA) specifically for NFP news trading. Strategy: - Trade EURUSD during the US Non-Farm Payroll (NFP) release. - Automatically identify the NFP release time. - Place a Buy Stop above the current price and a Sell Stop below the current price shortly before NFP. - Adjustable distance from current price for both pending orders. - When one order is triggered, automatically cancel the opposite
Bonjour ! Je vous ai contacté pour le développement de mon EA sur MetaTrader. Je souhaite intégrer une stratégie précise avec une gestion stricte des règles du courtier Exness. J'ai déjà préparé le cahier des charges complet sous format PDF avec toutes les spécifications techniques
SKBOT 35+ USD
want an MQL5 Expert Advisor (EA) for MetaTrader 5, mainly for XAUUSD (Gold). Strategy: The EA should trade based on market structure, Break of Structure (BOS), Fair Value Gaps (FVG), Order Blocks (OB), and Fibonacci retracement levels. BUY setup: Detect bullish market structure. Detect a bullish Break of Structure (BOS). Identify the relevant bullish FVG and/or Order Block created around the structure move. Use
Chciał bym w tej grze poznać dużo i zrozumieć ciężko bez języka mam tylko sms na gry nie mam kieszonkowych i kiepsko się trzymam finansowo żeby czasem myślę gdzie będę
​ Indicators: Fast MA (Period 10, Exponential) and Slow MA (Period 50, Exponential). ​ Buy Signal: When Fast MA crosses above Slow MA. ​ Sell Signal: When Fast MA crosses below Slow MA. ​ Risk Management & Parameters: ​Customizable Lot Size (Default: 0.01). ​Stop Loss (SL) and Take Profit (TP) in pips. ​Trailing Stop options. ​Max Spread filter. ​ Platform: MetaTrader 5 (MQL5)
​ Indicators: Fast MA (Period 10, Exponential) and Slow MA (Period 50, Exponential). ​ Buy Signal: When Fast MA crosses above Slow MA. ​ Sell Signal: When Fast MA crosses below Slow MA. ​ Risk Management & Parameters: ​Customizable Lot Size (Default: 0.01). ​Stop Loss (SL) and Take Profit (TP) in pips. ​Trailing Stop options. ​Max Spread filter. ​ Platform: MetaTrader 5 (MQL5)
I am looking for an experienced MQL5/MT5 developer to develop a custom Expert Advisor based on a complete technical architecture already prepared by the client. This is not a request to design a trading strategy from scratch . The strategy architecture, entry/exit concepts, filters, risk-management requirements and testing requirements are already documented. The main responsibility will be MQL5 development
Ready to use bot 100+ USD
seller must provide the following to be considered... i will answer to all who fit this description, and can purchase more than 1 EA... - brief strategy description - overall EA expectancy - 1 week limited trial version, with whatever settings you consider best (can be blocked on demo, i don't really care) - investor password from a reputable broker (if history is available... live / demo, same thing, doesn't really
can you help me use a Tickblaze Algo NRBO on the NT platform? I have it somewhat set up, but I have other questions about running it & knowing how to operate it in NT. Thank you if anyone have experience in this kindly bib and let do it asap
I need a fully automated custom Expert Advisor for MetaTrader 5 (MQL5). The EA is intended for use on a The5ers $100,000 2-Step prop-firm account. IMPORTANT DELIVERY REQUIREMENT: I must receive the complete editable .mq5 source code as well as the compiled .ex5 file. Compiled-only delivery is NOT acceptable. The EA must be coded specifically for this project and must not copy trades, use external trading signals or

프로젝트 정보

예산
30 - 40 USD
기한
에서 3 로 7 일