Hello,
I have 1 request of adding Buy / Sell TP and check the contents in current system as I describe here.
There
are Buy / Sell TP conditions in current system, and it needs to have few values and functions likely as SetIndexBuffer and SetIndexLabel,
other functions and buffers in data window.
As you know well, we have tried Buy / Sell TP in previous system before.
When Buy / Sell Entry happened on current candle, it
sends pop-up message in MT4 and also sound alert and e-mail alert.
As we experienced, it will send e-mail alert as followings below.
1908202035_OIH_PBS_v1.0_GBPUSD_Buy Entry_O1.12345_SL1.12345_TP1.12345
In
“1908202035”, “19” means 2019 (year), “0820” means Aug 20, “2035” means 20:35 (time).
And hope you to check the code below.
In Buy / Sell Entry, condition 28, 29, 30 and 31
=> Check the conditions if
there are right or not, please.
Correct the conditions if necessary, please.
In Buy / Sell Exit, condition 28 and 29
=> Check the conditions if there are right or not, please.
Correct
the conditions if necessary, please.
And check and complete Buy / Sell TP conditions, please.
And there is code of OIH_123Patterns_v1.2 as followings below.
Row 925
//*------------------------------------------------------------------*
double Get_OIH_123Patterns(ENUM_TIMEFRAMES
tf, int buffer, int bar)
{
return(iCustom(NULL,tf,"OIH_123Patterns_v1.2", "", "", MaxBars, "", ZigZagDepth, RetraceDepthMin, RetraceDepthMax,
ShowAllLines, ShowAllBullBearDots, ShowAllBreaks, ShowAllArrows, buffer, bar));
}
In OIH_123Patterns_v1.2, here is an option "maxNoOfCandles", but "MaxBars" in row 928.
Is this right?
And check below contents, please.
//*------------------------------------------------------------------*
double
Get_iHigh(ENUM_TIMEFRAMES tf,int bar)
{
return(iHigh(NULL,tf,bar));
}
//*------------------------------------------------------------------*
double Get_iLow(ENUM_TIMEFRAMES tf,int bar)
{
return(iLow(NULL,tf,bar));
}
Above are right?
Details of Buy / Sell TP
- It will be shown as a dot of value of v9 (for Buy Entry) / v10 (Sell Entry) when Buy / Sell Entry happened on
current candle
Buy TakeProfit
Same sized and dot typed as Buy / Sell StopLoss in current system attached.
The only difference is
color, and the color of Buy TakeProfit is Gold.
New system will show Gold colored dot and value of v9 for Buy TakeProfit when Buy Entry happened on current candle.
Sell TakeProfit
Same sized and dot typed as Buy / Sell StopLoss in current system attached.
The only difference is
color, and the color of Buy TakeProfit is Gold.
New system will show Gold colored dot and value of v10 for Sell TakeProfit when Sell Entry happened on current candle.
For more details, take a look at my attached document, please.
Thanks in advance,
David
Similar orders
Hello Traders, Have a trading strategy or idea you want to automate? I specialize exclusively in MQL5 development, helping traders turn their concepts into professional trading solutions. Custom Expert Advisors — automate your strategy and reduce manual execution Custom Indicators — transform your market ideas into powerful trading tools Fix & Debug — identify errors and get your existing code working properly
I DO NOT need any programming or strategy development. I already have a working NinjaTrader 8 automated strategy based on a 3/5 EMA crossover. I need you to run my existing strategy through NinjaTrader Strategy Analyzer/Optimizer, test the existing adjustable parameters, and find robust settings with the best profit factor and lowest reasonable drawdown. I will provide the existing NinjaScript ZIP. I do not want the
I'm looking for an experienced developer to create an automated gold trading bot. The bot should be compatible with MetaTrader 4/5 and TradingView. Key Requirements: - Automated trading bot - Compatible with MetaTrader 4/5 and TradingView - Implement scalping and swing trading strategies Ideal Skills and Experience: - Proficiency in trading algorithms - Experience with gold trading - Familiarity with MetaTrader and
I need a robust optimization of my MT5 EA, mainly for XAUUSD (Gold). Please optimize the existing adjustable parameters such as entry/exit settings, SL/TP, trailing/break-even settings, and any other strategy parameters that are appropriate. I want the optimization focused on stable profitability, low/moderate drawdown, and robustness rather than simply the highest possible profit. Please use out-of-sample testing
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
Hello, I need a custom NON-REPAINT MT5 indicator that gives sell/buy arrow signals 1–2 candlesticks before a spike on Crash and boom indices respectively occurs. Requirements: Works perfectly on MT5 Shows arrows before the spike (1–2 candles earlier). Non-repaint – once the arrow appears, it must stay. Should be accurate, not quantity — only quality signals. Must work on both demo and live accounts. I want the
Hello, I saw an indicator on TradingView and would like to know if you will be able to convert it for use on Thinkorswim platform? Thanks. if anyone can help me with it kindly do well to bid it urgent thanks looking forward too see you
calcVolume( void ) { //--- MqlRates rates[]; if ( CopyRates ( _Symbol , PERIOD_CURRENT , startTime, endTime, rates) > 0 ) { double rangeHigh = rates[ 0 ].high, rangeLow = rates[ 0 ].low; int count = MathAbs ( iBarShift ( _Symbol , PERIOD_CURRENT , startTime) - iBarShift ( _Symbol , PERIOD_CURRENT , endTime)) + 1 ; //---VERTICAL PRICE RANGE for ( int b = 0
Create an MT5 Expert Advisor (EA) for trading Gold (XAUUSD). The EA should provide BUY and SELL signals based on trend direction, market momentum, and price action. It should automatically place trades only when the entry conditions are met. Risk management: Use a small adjustable lot size. Include Stop Loss (SL) and Take Profit (TP). Include a maximum daily loss limit. Include a maximum number of open trades. Do not
Hello there, I am looking for a automated strategy for ninjatrader 5 Looking for a proven profit factor of 1.5 ( minimum ) on 15 mins time frame . I do MNQ futures I do not have the logic, but I like mean reverssion variable , plus RSI etc . that could make the automated tool robust and long lasting. i need fast response if you have