Termos de Referência
2. The trend is determined based on the exponential moving average over the specified period (InpMATrendPeriod). If the current EMA value is higher than the previous one, the trend is seen as increasing (ema_current> ema_previous). Alternatively, if the current EMA is below the previous one, the trend is considered to be decreasing (ema_current <ema_previous).
The figure below shows the buy and sell cases.
5. Positions are opened: positions are closed in% Fibonacci at market price when a new bar appears. The Expert Advisor should be tested using open prices, so there is no need to add functions to disable operations within the bar.
PARTIAL CLOSE
TRAILING STOP
TRAILING STEP
BREAKEVEN
-------
1. A idéia do sistema de negociação é a seguinte : as entradas no mercado são realizadas quando for finalizado um movimento e seu pulback for igual ou inferior a 38% da fibo de expansão. Tendência será determinada por média móvel.
2. A tendência é determinada com base na média móvel exponencial com o período especificado (InpMATrendPeriod). Se o valor atual da EMA for maior que o anterior, a tendência será vista como crescente (ema_current> ema_previous). Como alternativa, se a EMA atual estiver abaixo da anterior, a tendência será considerada decrescente (ema_current <ema_previous).
3. Sinais de Negociação :
Sinal de compra: Tendência da alta, pulback atingindo max Fibonacci 38%
Sinal de venda: Tendência da baixa, pulback atingindo max Fibonacci 38%
A figura abaixo mostra os casos de compra e venda.
4. As posições são fechadas: as posições de são fechadas em % de Fibonacci tanto na venda como na compra.
5. As posições são abertas: as posições de são fechadas em % de Fibonacci ao preço de mercado, quando surge uma nova barra. O Expert Advisor deve ser testado usando preços abertos, portanto, não há necessidade de adicionar funções para desativar as operações dentro da barra.