Convert TV Pinscript strategy into a mt4 EA

Tarea técnica

DM me for the full script. I created a tradingview strategy using the code of a volume indicator. Now i would like for the strategy to be convert into Mt4 and implement additional risk features. 

The strategy uses Heiken Ashi candles along with the CVD volume indicator. So if you already have the code of the heiken ashi candle for mt4 or 5 that will be a plus. 

Additional features i want added: 

1) Entry based on balance percentages. Allow me to choose the percentage from 1 to 100. 

2) Brake even after a number of pips have been received. Allow me to turn this features off and on if needed and choose the pips. 

3) Pyramiding - adding extra entries based on the initial entry for trades that are going in the right direction. Its similar to what trading view has.

4) Stop loss, Take profit. 

5) Close entry based on the open of the next signal. 

Strategy Overview:

This strategy uses Cumulative Volume Delta (CVD) to take buy or sell trades, with dynamic stop losses based on the most recent highs and lows. The strategy enters long (buy) positions when the CVD turns green and short (sell) positions when the CVD turns red. The stop loss is dynamically adjusted based on the most recent high or low within a specified lookback period, and positions are closed when the opposite signal occurs.

How the Strategy Works:

  1. Calculate Buy or Sell Volume:

    • The strategy checks whether the current bar is bullish or bearish based on its open/close and the previous bar’s close.
    • Depending on the result, volume is classified as buy volume (positive) or sell volume (negative).
  2. Cumulative Volume Delta Calculation:

    • The net volume (difference between buy and sell volume) is summed up over time to generate the cumulative volume delta.
    • If the CVD increases, it indicates buying pressure, and if it decreases, it indicates selling pressure.
  3. Entry and Exit Logic:

    • A buy position is taken when the CVD turns green, with a stop loss set at the lowest low of the last 10 bars.
    • A sell position is taken when the CVD turns red, with a stop loss set at the highest high of the last 10 bars.
    • Open positions are closed when the opposite signal is triggered (buy or sell).

MT4 Translation Considerations:

  • Cumulative Volume Delta: Since CVD isn’t a built-in indicator in MT4, the developer will need to calculate the CVD using volume data. The CVD logic involves summing the differences between buy and sell volume over time.
  • Stop Loss: The developer will implement dynamic stop losses based on the highest high or lowest low over the lookback period (this is similar to the iHigh() and iLow() functions in MT4).
  • Entry/Exit Conditions: Buy and sell entries are based on the color change of the CVD (green for buy, red for sell), and positions are closed when the opposite signal occurs.

Summary:

  • Buy entry: When CVD turns green, and stop loss is the lowest low of the past X bars.
  • Sell entry: When CVD turns red, and stop loss is the highest high of the past X bars.
  • Exit: Close positions when the opposite CVD signal occurs.


Archivos adjuntos:

Han respondido

1
Desarrollador 1
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
2
Desarrollador 2
Evaluación
(64)
Proyectos
198
72%
Arbitraje
4
100% / 0%
Caducado
1
1%
Libre
Solicitudes similares
I need an expert to help me convert chopzone traingview pinescript to mt4, I need an expert to get it done for me on between 1 to 2 days i hope this will be done by then, i will attach the file and my budget is $30 as of minimum here
Looking for someone to edit/optimize and existing NN (neural network) in my EA so it is more compatible/profitable with the multiple strategies. The expert advisor is a portfolio expert advisor consisting of 33 separate advisors/strategies compiled into one. A NN has been added to the EA but it does not compliment or help the EA's performance. I've attached the original EA (without NN) as well as the EA with the NN
Need to modify the ea to take trades based on an indicator. indicator and ea source code available. Variable inputs of indicator to be added. Buy Amount for Profit (+ve $value ) Buy Amount for Loss (-ve $value ) Sell Amount for Profit (+ve $value ) Sell Amount for Loss (-ve $value )
I am looking Advisor to code an Expert Advisor (EA) for MT5 for forex and crypto That EA should automatic trading based on specific strategies and market conditions and advanced features like managing multiple indicators, panel board, optimizing risk management, and implementing trailing stops. I need to create a reliable, efficient EA that can monitor the market from all time frame. i will send more details if you
am looking for great developer that can help me on this project, I have an Indicator on Tradingview and want to convert that to an EA for Metatrader 4. Can you help me? peace be unto you
Good programmer need to use 1 indicator convert to expert advisor. kennel Kennel indicator-- upper channel signal = Sell Kennel indicator-- Lower channel signal = Buy Entry on New candle or Bar after close of Signal candle lot size-- Take profit--- Stoploss--- Trail start--- Trail step--- Max spread = 200 Hedge of signal = true/false multiplier = percentage Risk = percentage. magic-- CHECK OUT THE LINK
Necesito un desarrollador con experiencia para crear un robot para cfds para mt5 con entorno windows, el cual abra y cierre posiciones condicionalmente al movimiento del precio e indicador, se incluye crear un indicador personalizado
Hi there, I have a currency strength EA for MT5 that I would like to use as the base for an EA that will enter trades based on: 3 EMA's being aligned in the right direction (9, 20, 200) on the 5m, 15m and 1hr timeframes. Stochastic Indicator crossing back up above the 20 level for a buy and crossing below the 80 level for a sell. The difference between the currency strength on the 2 pairs being above a specified
CORREÇÃO NOTIFICAÇÕES Ø O indicador muda a cor dos candles e da MA200 quando ocorre as entradas e é somente nesse momento que ele deve enviar notificação de entrada porem está enviando em outros momentos que não atende as condições conforme imagem abaixo. Ø Sempre que abro o MT5, mudo o time frame ou a plataforma perde conexão o indicador me envia notificações de entradas passadas, o indicador deve enviar
Hello, I'm seeking for an experienced developer that can convert a simple MQL4 EA (which is about 1000 lines of code, but with simple logic) to MQL5. Furthermore I need him to optimize the EA for better performance and faster backtest speed (all optional backtest features to speed up the process must be enabled optionally with input parameters, like Enter/Exit on new bar only for example). Finaly, I want to add an

Información sobre el proyecto

Presupuesto
50+ USD
Plazo límite de ejecución
de 2 día(s)

Cliente

(9)
Encargos realizados19
Número de arbitrajes0