adityaaa / Perfil
Amigos
Pedidos
Adicione amigos através do seu perfil ou da pesquisa de usuário e você poderá ver se eles estão online
Enviados
![adityaaa](https://c.mql5.com/avatar/avatar_na2.png)
adityaaa
CAN ANYONE PLESE MADE AN INDICATOR FOR ME, BELOW INSTRUCTION , IT SHOULD MT4 OR MT5:
Indicator Creation:
Create an MQL5 program for an indicator that operates on live charts in MetaTrader 5 (MT5).
This indicator should allow users to select a specific timeframe for analysis.
Buffers:
Define two buffers within the indicator for storing data.
These buffers will be used to determine when to display arrows on the chart.
Downward Arrow Condition:
If the last candle is green and the next two candles are red,
Then, the third candle after the green candle should also be red.
Place a downward arrow on the second red candle after the green candle, before the opening of the third candle after the green candle.
Upward Arrow Condition:
If the last candle is red and the next two candles are green,
Then, the third candle after the red candle should also be green.
Place an upward arrow on the second green candle after the red candle, before the opening of the third candle after the red candle.
Implementation:
Implement the logic in the OnCalculate function of the MQL5 program.
Use the specified timeframe and buffer sizes provided as input parameters.
Set buffer values accordingly to trigger arrow displays based on the defined conditions.
Visualization:
Use the SetIndexArrow function to specify arrow symbols for visualization on the chart.
Ensure the arrows are displayed accurately at the defined positions based on the conditions.
Testing:
Test the indicator on various timeframes and market conditions to verify its accuracy.
Make adjustments if necessary to improve performance and reliability.
Deployment:
Compile the MQL5 program and attach it to the chart window in MetaTrader 5.
Allow users to select the desired timeframe and observe the arrows generated based on the specified conditions.
Indicator Creation:
Create an MQL5 program for an indicator that operates on live charts in MetaTrader 5 (MT5).
This indicator should allow users to select a specific timeframe for analysis.
Buffers:
Define two buffers within the indicator for storing data.
These buffers will be used to determine when to display arrows on the chart.
Downward Arrow Condition:
If the last candle is green and the next two candles are red,
Then, the third candle after the green candle should also be red.
Place a downward arrow on the second red candle after the green candle, before the opening of the third candle after the green candle.
Upward Arrow Condition:
If the last candle is red and the next two candles are green,
Then, the third candle after the red candle should also be green.
Place an upward arrow on the second green candle after the red candle, before the opening of the third candle after the red candle.
Implementation:
Implement the logic in the OnCalculate function of the MQL5 program.
Use the specified timeframe and buffer sizes provided as input parameters.
Set buffer values accordingly to trigger arrow displays based on the defined conditions.
Visualization:
Use the SetIndexArrow function to specify arrow symbols for visualization on the chart.
Ensure the arrows are displayed accurately at the defined positions based on the conditions.
Testing:
Test the indicator on various timeframes and market conditions to verify its accuracy.
Make adjustments if necessary to improve performance and reliability.
Deployment:
Compile the MQL5 program and attach it to the chart window in MetaTrader 5.
Allow users to select the desired timeframe and observe the arrows generated based on the specified conditions.
: