this ea will run on a 1 day graph.
basically i want a ea that trades using :
donchain ( 20 day )
The sma (14) .
Mac D (14 , 26 ,9).
when the pips break through the donchain resistance line 2 times
,when the sma 14 line passes through a rising pip and when the mac D 14 is
above the mac D 26 , then only must a buy trade be started.
the sell trade will be activated when the 3 conditions are met
but in reverse ( donchain support line is broken through 2 times, sma 14 passes
through a falling pip and the mac D 14 is below the macd 26.)
a trailing stop and a stop loss will also be needed.
the trailing stop will only activate when the 2 mac D crosses ,
sma crosses the pips , and will be 50% of the ATR ( average true range )
the stop loss will be the buying price - Atr. ""
entering price - Average true range "" { buying market }
&&
"" entering price + Average true range "" {
selling market }
the position sizing will be 3% of current account value per
trade. There will be a maximum of 3 trades taken, all of which would total to
no more than 9%
please leave comments
throughout the code so that I can understand what I must check when I do back testing
on the program.
Conditions for
entering a trade
(see attachment for graph explanation)
This is a mac D that uses the same values as the other mac
D.
When the histogram shape at the bottom is above proves to be
the highest compared to the other charts , it must enter a trade but only if
the histogram value is above 0.7.
The chart with the highest gradient must also be chosen
So the top 3 charts must be the charts
with the highest gradient of the 14 day ema of the MacD and with a histogram
value above 0.7.
Also
!!!!!!!!!
I want
the EA to be fully automated . it must run on all chats but only trade on 3 at
a time. This is important ! if this is not
possible , pleas let me know , so that I can change the conditions a bit
Similar orders
//———————————————————————————————————————————————————————————————————— struct S_MCAV { double matureSum; double totalSum; double value; void Init () { matureSum = 0.0; totalSum = 0.0; value = 0.5; } void AddContext (int ctx) { totalSum += 1.0; if (ctx == 1) matureSum += 1.0; } void ApplyDecay (double rate) { matureSum *= rate; totalSum *= rate; } void Update () {
NinjaTrader 8 / NinjaScript Phase 1 build: convert an existing Auction Market Theory (AMT) strategy into objective, alert-only decision-support logic. Not a bot, no auto-execution — trades stay manual. Covers NQ/MNQ, ES, CL, MGC using 30-min TPO/Volume Profile context with 5-min confirmation: one 5-min close outside VAH/VAL = acceptance, close back inside = rejection. Dashboard shows bias, auction state, location
1. PROJECT OVERVIEW Development of a custom automated and manual trading bot for NinjaTrader 8, primarily designed for Nasdaq Futures (NQ/MNQ). The bot will contain the original trading strategy, configurable risk management, automatic and manual operating modes, alerts, profit/loss management, partial profit taking, Break Even, backtesting functionality, and the additional configurable contract-averaging system
Develop an Expert Advisor for MetaTrader 5 that manages existing positions. Features Automatically detect all open positions. Apply Break-Even after price reaches a configurable profit. Partial Close: Close X% of volume at the first target. Move Stop Loss to Break-Even. ATR Trailing Stop (optional). Magic Number filter. Comment filter. Symbol filter. Trading session filter. Retry mechanism for trade operations
I have a fast execution ea that need a little touch, it trade on gold and my problem is about the risk ratio the tp is 3pip and stop loss 20 but i cannot get it right to make the average win larger and average loss lower. I would like to know if i can get help to get it right without touching the tragedy and the trade frequency. Those two pictures I attached is the example of what my bot actually do like i explained
Hello everybody, I'm looking for an experienced MQL4/MQL5 developer to optimize a High-Frequency Trading (HFT) Expert Advisor for both MT4 and MT5. The EA performs consistently and profitably on demo accounts, but when it is run on Raw and Standard live accounts under what appear to be the same trading conditions, it begins generating losses. I do not have the original source code (.mq4/.mq5); I only have the