Lavoro terminato
Tempo di esecuzione 2 giorni
Feedback del cliente
Feedback del dipendente
Hello everyone,
Kindly I need an EA for forex to buy and sell based on candle properties and an indicator.
This expert advisor should check to open positions at the closing of each candle as per the set timeframe. The EA should open a buy order when there are 2 consecutive bull candles (uptrend), and opens a sell order when there are 2 consecutive bear candles (downtrend) in the specific timeframe. The EA should close open positions when either the take profit (TP) or Stop loss (SL) are reached.
However, there are some conditions to opening positions
The EA will have 1 indicator: ATR.
Below are some of the calculations that need to be calculated at the closing of each candle for the constraints with their respective abbreviations. Please use the same abbreviations to make it easier for current and future development.
- Spread (SP)
- Closing candle price (CCP): the closing price of the closing candle.
- Recent Duration (RD): duration set as a timeframe for below calculations
- Highest price (HPRD) /Highest opening or closing price/ calculated for the RD
- Lowest price (LPRD) / Lowest opening or closing price/ calculated for the RD
- Longest downtrend (LDT) / Pips / calculated for the RD
o Difference between highest value and lowest value of 1 or more consecutive red candles
(Highest high and lowest low and NOT highest open and lowest close)
- Longest uptrend (LUT) / Pips / calculated for the RD
o Difference between highest value and lowest value of 1 or more consecutive green candles (highest high and lowest low and NOT highest open and lowest close)
- Current trend range (CTR) /Pips/ calculated for all the candles before the closing candle and including the closing candle that have the same direction as the closing candle.
o For bull candles CTR = highest close of all candles in the range – lowest low of all candles in the range
o For bear candles CTR = highest high of all candles in the range – lowest close of all candles in the range
Indicator Input
General Inputs for opening positions
- Specify the timeframe
- Specify up to 6 trading pairs to look for positions
- Recent duration (RD): duration set as a timeframe for below calculations
- Max number of open positions: Set the max number of open positions at the same time
- Lot size (LS): Set the lot size for opening positions
Conditions
1. Closing candle properties
- Closing candle body size{absolute(open-close)} should be:
- {ATR(at closing candle)*2>Closing candle body size>10 pips}
- Bull closing candle upper shadow should be less than the body: (high-close) < (close-open)
- Bear closing candle lower shadow should be less than the body: (close-low) < (open-close)
- Bear candle closing price should be lower than lowest low of any of the current trend’s candles
- Bull candle closing price should be higher than highest high of any of the current trend’s candles
2. Minimum ATR
- ATR minimum (ATRMin): Set the ATRMin to 50 pips. Only open positions if ATR(calculated at closing candle)>ATRmin
3. Stop loss
- Stop loss (SL) : Calculate and set Stop loss for all open orders to = ATR(calculated at closing candle)} pips
4. Take profit
- Take profit (TP): Calculate and set the take profit for all open orders to = (2 * ATR (calculated at closing candle)) – Spread (calculated at closing candle)
- Take profit minimum (TPmin): Set the TPmin to 20 Pips. Only open positions if TP>Tpmin
5. Recent high/low
For buy orders
- CCP + TP < HPRD
- CCP > HPRD + ATR
For sell orders
- CCP – TP > LPRD
- CCP < LRPD – ATR
6. Current trend range
For buy orders
- CTR+ TP < LUT
- CTR > (LUT + ATR)
For sell orders
- CTR – TP < LDT
- CTR > (LDT - ATR)
Attached you can find some examples in order to better convey the different componenets and calculations.
Kindly use same abbreviations when defining objects to make it easier for current and future development.
Con risposta
Arbitraggio
114
45%
/
25%
Ordini simili
I am looking for a programmer to develop a an expert advisor that can trade signals from telegram. The signals format is Buy XAUUSD and Sell XAUAUD. I want the system to just submit the orders at market price instantly as soon it is received and manage the trades according to the following parameters; Also sample of telegram signal is attached. EA PARAMETERS Trading Time (GMT): This defines the specific time window
Location: Remote Employment Type:[Full-time/Part-time] About Us At Riskeys, we are transforming the trading experience with our state-of-the-art Smart Trading Keypad for MetaTrader 4/5. Our mission is to empower traders with innovative risk management tools, providing them with the speed, precision, and efficiency they need to succeed in today’s fast-paced financial markets. As we continue to push the boundaries of
hello programmers, I have a code from Pine language it is an indicator code, I need to convert it to Mql5. within the conversion process to EA i want to use that indicator as a signals which triggers the EA to open positions and optimize it to place TP,SL i will explain the buy signal and sell signal, I need to use also 2 Moving averages 20,50 as a buy and sell triggers once they cross. A long with it i will ask for
I am looking for a highly skilled and experienced developer who can assist with converting six Pine Script strategies into NinjaTrader. The goal is to seamlessly transition these scripts while preserving their original functionality and ensuring they operate efficiently on the NinjaTrader platform. If you have the expertise and are interested in this project, please reach out. I am looking forward to collaborating
Hi there new to this but need some assistance. I need someone to code a very simple indicator/EA (I don't know which one is going to be) with these specifications 1) I need the indicator to create a buffer line between the high and low of the printed candle, the high and low is based on the highest point or lowest point the candle has gone, not the close but the actual wick per say. 2) once the candle is created the
The EA should place take profit at the order opening price when X points of loss are reached, I already I have my own EA I just need a dev that ad what I ask previously to it, will be verry cool. Thanks
Hello, I am looking for a developer to reconstruct an indicator that is currently in an ex4 file into an mq4 file. The indicator provides buy and sell signals with entry points, Stop Loss, and TP1, TP2, and TP3. However, the indicator has some errors, and I would like to correct them. Unfortunately, since I only have the ex4 file, it's not possible to make these corrections directly. Therefore, I would like to
very simple rule buy rate 2 sl 1 if market reach 3 sl 2 market reach 4 sl 3 sl hit reverse trade open too with same 1:1 trail sl system if sl hit reverse trade open with same sl trail function 1 input open trade with buy or sell option 2 sl in pip .............xyz 3 lot size ............. xyz 4 distance from sl when sl trail one step [main point] Iam buying in rate of 2 my sl is 1 market reach 3 my sl is 2 market
Purpose: 1. The EA should catch the trend and follow it up or down. 2. The EA must use volitile and volume (strong money flow/ATR or ADX. Feel free to come up with suggestions for indicators we can use. 3. EA must have a minimal Draw down at 3-5% MT4 EA Inputs • Lot size = 0.1 • Use Dynamic Lots = true/false • Risk Percentage of your balance= 2% • Min Allowed Lot Decimals = 0.1 or 0.01 or 1 • SL pips = 100 • TP Pips
I’m looking for someone experienced with Think or Swim to create a backtesting script for an in-the-money Iron Condor strategy using options on the SPX. The strategy involves setting up 10 contracts of an Iron Condor with a 10-point spread width and a net credit requirement of $11 per contract. The goal is to backtest the performance over the last three years, focusing on trades where the SPX closes outside a