THIS EA IS BASED ON PRICE ACTION
BASIC TRADE MANAGEMENT FUNCTIONS:
1. TIME FILTER (TRUE/FALSE) - START TIME AND END TIME
2. FRIDAY CLOSE TIME (TRUE/FALSE) - CLOSES ALL OPEN TRADES AND STOPS TRADING
3. SINGLE CHART SETUP OR ONE CHART SETUP
4. COMMENT TRADE - EA PRINT ITS' NAME WHEN IT EXECUTES A TRADE
TRADE MANAGEMENT - USES EQUITY TO EXECUTE TRADES
1. LOT SIZE
2. RISK PERCENT (COUPOUNDING)
3. MAX ACCOUNT LOT
4. MAX TOTAL TRADES
5. STOPLOSS
6. TAKE PROFIT
7. CANDLE CLOSE TP TRUE/FALSE - TRADE MUST NOT CLOSE BELOW SET TP
8. NUMBER OF TRADES - EA MUST HOLD ONE TRADE AT A TIME
9. TRAILING STOP AND TRAILING STEP - TRAILING START FROM ENTRY POINT OR TRAILING STEP
10.TAKE PROFIT, CANDLE TP, TRAILING STOP/TRAILING STEP SHOULD ACCOUNT FOR SPREAD, COMMISSION AND SWAP BEFORE THEY EXIT ANY TRADE.
i.e TRADES CLOSED BY TP, CANDLE CLOSE TP, TRAILING STOP/STEP MUST NOT BE IN LOSS BECAUSE OF SPREAD, COMMISION AND SWAP.
11. TRADES CLOSED BY TP, CANDLE TP, TRAILING STOP/STEP MUST NOT PRINT ANYTHING THING TO THE USER (E.G TP, SL)
TRADING STRATEGY
NUMBER OF POINTS A CANDLE MOVES BEFORE TRADE EXECUTION = 100 (USER INPUT)
BUY ORDER - ENTRY CONDITIONS.
1. IF BUY CANDLE OPENS, EA ONLY EXECUTES A BUY ORDER IF PRICE MOVES 100 POINTS (USER INPUT) ON THAT BUY CANDLE. IF PRICE
DOES NOT MOVE UPTO 100 POINTS (USER INPUT) ON THAT BUY CANDLE, NO EXECUTION OF TRADE. IF THE CANDLE CHANGES TO A SELL CANDLE
BEFORE PRICE MOVES UPTO 100 POINTS, THEN A SELL ORDER EXECUTES IF IT MOVES 100 POINTS (USER INPUT) AS A SELL CANDLE. IF THE TRADE
IS CLOSED BY TAKE PROFIT, CANDLE CLOSE TP OR TRAILING STOP BEFORE THE CANDLE CHANGES TO SELL DIRECTION, EA SHOULD ALSO EXECUTE A
SELL ORDER IF IT MOVES 100 (USER INPUT) POINTS IN THE SELL DIRECTION.
BUY ORDER - EXIT CONDITIONS.
1. CLOSES THE ORDER WITH TP.
2. CLOSES THE ORDER WITH CANDLE CLOSE FUNCTION IF SET TRUE. TRADE MUST NOT CLOSE BELOW SET TAKE PROFIT VALUE
SELL ORDER - ENTRY CONDITIONS.
1. IF SELL CANDLE OPENS EA ONLY EXECUTES A SELL ORDER IF PRICE MOVES 100 POINTS (USER INPUT) ON THAT SELL CANDLE. IF THE CANDLE
DOES NOT MOVE UPTO 100 POINTS (USER INPUT) ON THAT CANDLE, NO EXECUTION OF TRADE. IF THE CANDLE CHANGES TO A BUY CANDLE
BEFORE PRICE MOVES UPTO 100 POINTS, THEN A BUY ORDER EXECUTES IF IT MOVES 100 POINTS (USER INPUT) AS A BUY CANDLE. IF THE TRADE
IS CLOSED BY TAKE PROFIT, CANDLE CLOSE TP OR TRAILING STOP BEFORE THE CANDLE CHANGES TO BUY DIRECTION, EA SHOULD ALSO EXECUTE A
BUY ORDER IF IT MOVES 100 POINTS (USER INPUT) IN THE BUY DIRECTION.
SELL ORDER - EXIT CONDITIONS.
1. CLOSES THE ORDER WITH TP.
2. CLOSES THE ORDER WITH CANDLE CLOSE FUNCTION IF SET TRUE.TRADE MUST NOT CLOSE BELOW THE SET TAKE PROFIT VALUE
PREPARE EA FOR MQL5.COM PUBLISHING.
Similar orders
🚀 THE AIRAK PHASE 3: SUBSCRIPTION, PAYMENT, LICENSING & AFFILIATE SYSTEM Project: THE AIRAK Trading Assistant Development Phase: Phase 3 Project Owner: Kayemba Joseph Platform: MetaTrader 5 (MT5) 1. PROJECT OBJECTIVE Phase 3 is intended to transform THE AIRAK into a subscription-based trading software business. The system should allow customers to register, purchase subscriptions, receive automatically activated
Can you do a 5 year back test on /6e (fx euro). using 30 minute chart. Buy to open if macd histogram is above 0 line, or sell to open if macd histogram is below 0 line at 7:30 pm eastern standard time. Close position at 7:30 am next morning. Trade stays open for the entire 12 hour time. thanks, regarding backtest, forgot to mention $300 stop loss, and $500 take profit. Thank you
Hi! I have a general strategy concept, but I would like you to help develop and define the exact trading rules. The planned strategy is: * Instrument: MNQ futures * Platform: NinjaTrader 8 * M30 timeframe for identifying the main trend * M5 timeframe for trade entries * RSI and MACD indicators * Support and resistance levels * Fully automated entries and exits * Automatic Stop Loss, Take Profit and Trailing Stop *
Robert for life money's cash maximum 16mb the jobs future linuox Trading robots are programs, which operate according to underlying algorithms. An algorithm is a set of actions that need to be performed in response to certain events. For example, the most common task in algo trading is the identification of the "New bar" event . When the event occurs, the robot checks the emergence of trading signals and acts
Okay, this is a big one for MT5 traders. Let's do it properly. In Python, the "Merge Tool" usually means 2 things: 1. *Merge MT5 data from different symbols / timeframes into one DataFrame* 2. *Plot it as a clean graph* Here is a complete working setup: *Step 1: Install* pip install MetaTrader5 pandas matplotlib mplfinance *Step 2: Full Code - Get MT5 Data + Merge + Plot* import MetaTrader5 as mt5 import pandas as pd
Experienced Trading Software Developer Needed – Multi-Platform Development Hello! I'm looking for an experienced developer to create a custom trading indicator and convert it into an automated trading bot for the following platforms: MT5 NinjaTrader 8 Quantower cTrader The plan is to develop the same indicator and trading bot for all four platforms, one after another. Project requirements: Custom trading indicator
I am looking for an experienced trading software developer interested in building a long-term working relationship. Im a professional Trader, Coach and Mentor, I work with traders and Student who require customized trading solutions, including automated trading bots, Expert Advisors, custom indicators, trading strategies and other algorithmic trading tools. I am looking for a technically skilled developer who can
I want NinjaTrader to behave like Tradovate. When I hover over a candlestick, the cursor should automatically snap to the center of that candle across all open charts. For example, when I hover over a 30-minute candle, the cursor should align with the center of the corresponding candles on the 15-minute and other chart timeframes. I also want vertical lines drawn on one chart to automatically align with the center of
I have a working MetaTrader 5 Expert Advisor already coded and running -- this is not a "build from scratch" job. The EA trades a smart-money-concepts style model (structure breaks, liquidity sweeps, order blocks, fair value gaps, optimal trade entry retracement). Exact parameters and the rest of the underlying logic are proprietary and will only be shared once we're under a working agreement. To check you actually