adityaaa
adityaaa
Friends

Add friends via their profile or user search and you will be able to see if they are online

adityaaa
Added topic Creating an indicator
Can anyone plese create an Non-Repainting indicaor on mt4 or mt5 according to there instruction :  Indicator Creation : Create an MQL5 program for an indicator that operates on live charts in MetaTrader 5 (MT5). This indicator should allow users
adityaaa
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.
adityaaa
Added topic Indicator arrow is showing as Box
Getting problem with both Mt4 and Mt5, when i have installed it in new operting system. The arrow in the indicators are showing in form of a box, please help with a solution
adityaaa
Registered at MQL5.community