enable and disable indicators in ea
-
Goodnight.
see the project as it would be, I have a crossover of averages, an rsi and a trend .. Imagine that I want to activate only the crossover of averages and rsi, and disable the trend .. how do I do this?link text -
@mateus_f Are those cancellations supposed to happen in the middle of an open trade?
-
@l-andorrà , not only do I want to be able to disable a filter ... Ex: I am using cross-media + rsi + macd, I just want to click to disable macd and the robot will only operate with the cross-media + rsi, or vice versa, you know?
-
Sorry about my English. I am using Google translator.
You must create a constant of type "bool" with a value of 1.
You will create a "Condition" block before the indicator that you do not want to use. This block will compare: If the constant == 1, the block passes. you connect the left ball under the next block.
If the constant is 0, the condition is not true. Just turn on the right ball on the next block.
The two balls must be connected to the next block. When adding the EA to the chart, you can change this constant to "True (1) or False (0)".
-
@bocadeangu boa noite , tambem sou brasileiro amigo.. nao entendi a sua regra tem como fazer um mini projeto ai e enviar para mim ter uma ideia ? comecei a estudar o fxdreema a poucos dias . aprendendo rapido se puder me ajudar agradeço muito...
-
Vou fazer e postar aqui para voce.
-
-
@bocadeangu , valeu amigo , era isto mesmo que eu tava precisando para entender como funcionava o if then , dentro dos blocos ... Muito agradecido ...