Trabalho concluído
Termos de Referência
Pine Editor code is attached
This strategy uses EMA or TEMA with ADX (+DI and -DI) to identify buy signals. When a buy signal is triggered, it places a buy order with a specified stop loss and take profit. TP and SL should considered as custom parameters,
A buy signal is generated when the closing price is above the EMA or TEMA, and the +DI crosses over the -DI ont the privius candle, a buy is placed on the opennig of the very next candle.
The EMA or TEMA can be selected through the EA inerface with thier own parameter (Lenght etc...) and plotted on the chart for visual confirmation of the strategy.
The script includes parameters for customization, allowing users to adjust the strategy settings to fit their needs. user-defined input parameters for EMA, TEMA length, ADX length and smoothing, stop loss, and take profit levels (in pips).
Money managment parameters have to included and has to allow the user to adjuste the volume through the balance calculation, or through a fixed volume