Modify series of opening positions to be calculated from ATR

MQL4 エキスパート

指定

This EA works by counting bullish/bearish bars, then there is a threshold of what excess % there can be for bullish/bearish for example if set to 60% then if there is 60% bullish bars over X amount of bars then it will open a sell trade, the EA will then open a series of sell trades on the close of each bullish bar until the exit conditions are met (the buy signal works the same way).

What I want to do is modify the existing function of opening another position on the close of say a bearish bar in the case of a buy position to be a calculation of % move from the current ATR value of the given timeframe.

For example:

BUY POSITIONS:

CURRENT ATR VALUE: 20 PIPS

% MOVE TO OPEN NEW POSITION = 50%

CHECK IF WE HAVE ANY OPEN POSITIONS ON SYMBOL IN QUESTION IF YES THEN:

IF PRICE MOVES (50% OF 20 PIPS = 10) 10 PIPS LOWER THAN THE OPEN PRICE OF THE LAST OPENED POSITION WE OPEN ANOTHER BUY POSITION.  (ONLY IF PRICE MOVES AGAINST US WE OPEN A NEW POSITION)

This function will have the following parameters:

ATR PERIOD

ATR TIMEFRAME

% OF ATR TO OPEN NEW POSITION


This EA works on multiple symbols and each symbol will have its own individual set of parameters for this function.

This function will work on the close of a 1 minute candle to save resources (I know that this means we wont get exactly our ATR % value 100% right but that's ok).


When the EA has open positions I want a text included in the current text boxes already created of the number of pips required before opening new position. (Like a countdown to new position is opened).

応答済み

1
開発者 1
評価
(169)
プロジェクト
204
30%
仲裁
25
40% / 44%
期限切れ
12
6%
2
開発者 2
評価
(74)
プロジェクト
121
43%
仲裁
12
33% / 50%
期限切れ
17
14%
類似した注文
Hello, send robot models with a solid strategy (to trade forex), I want to use it to make money for the week. It is important that you present me with your profitability graph and a test. I also want to hire him for future jobs
I am looking to develop an automated trading bot based on a strategy involving the crossing of four Simple Moving Averages (SMA). The bot should be capable of entering trades based on this strategy. Additionally, I would like to incorporate some custom diversions tailored for NinjaTrader
Seeking an experienced MQL5 developer to create a sophisticated Expert Advisor focused on harmonic pattern trading . The EA will be designed to identify and trade based on popular harmonic patterns in the forex market. Entry and Exit Logic: Develop smart entry and exit rules based on pattern completions and price action confirmations. Risk Management: Incorporate adjustable risk-per-trade settings and position sizing
preciso de um robô com duas médias móveis, uma exponencial high e uma exponencial low. preciso também ter a opção de utilizar e todos os tempos gráficos e alterar os parâmetros das médias. entrada de compra será feita quando um candle de alta romper e fechar a cima da média high e fechará a posição quando um candle de baixa romper e fechar a baixo da média low. a venda será feita quando o candle de baixa romper e
Description - An expert advisor(s), placing sell trades in EUR/USD, based on the close price of the previous two candles, as shown in the figure below. The trades would be made in the 5 minute, 1 hour, and 1 day timeframes. In the 5 minute and 1 hour timeframes the market orders would be placed at the start of a new candle, at specific times EST. The order would be cancelled at the close of that candle, i.e after 5
Hi, I have an indicator from my friend, I want to copy it to my own Traidingview or MT5 can you do that for me. Here is the link
Develop a simple trading robot from rainbow oscillator Additional features Include timeframe specification in rainbow oscillator trailing features moving average filter TP (true/false) SL (true/false) Fixed lot Risk percentage Percentage profit lock
Hi, I have an indicator from my friend, I want to copy it to my own Traidingview or MT5 can you do that for me. Here is the link
I need a dashboard that shows my various accounts that shows balance, equity, number of trades open, drawdown and some more information. I want to use it to monitor my accounts in one screen or chart. If there is anyone who can do it please show me the screenshot of your sample
Hi, I need a robot, which wil get instructions to trade in 3 symbols at the same time based on few parameters and calculations. Example: There is 1 symbol called Gold-Near and the rate for it is 1000-1002 If i specify that when the rate reaches 1050, it should sell 1 lot Upon execution it will have to sell 1 lot of cme gold, buy 3 lots of mcx gold and buy currently (lots will be based on calculation). All the

プロジェクト情報

予算
30+ USD
開発者用
27 USD