Indikatoren: BrainTrend2Sig
Wie kann ich von meinem EA aus eine Verbindung zu ihm herstellen?
wenn möglich Beispielcode!!!
Könnten Sie mir bitte sagen, wie ich BrainTrend2Sig so konfigurieren kann , dass es eine Benachrichtigung im Messenger oder als SMS oder Telefonanruf sendet?
Vielen Dank im Voraus
Wie stelle ich von meinem EA aus eine Verbindung zu ihm her?
wenn möglich Beispielcode!!!
Hallo guten Morgen, ich versuche, den Indikator in einem benutzerdefinierten EA zu verwenden. In mt4 es funktioniert perfekt, aber in mt5 Ich habe Schwierigkeiten, das gleiche zu tun, in mt4 Ich rufe den Indikator auf diese Weise und es hat funktioniert:
Hello good morning, I'm trying to use the indicator in a custom EA. In mt4 it works perfectly, but in mt5 I have difficulty doing the same, in mt4 I call the indicator this way and it has worked: // Chama a função iCustom para obter o valor da seta azul redArrowValue = iCustom(Symbol(), Period(), "BT2", 0, 0); // Chama a função iCustom para obter o valor da seta vermelha blueArrowValue = iCustom(Symbol(), Period(), "BT2", 1, 0); // Condição de venda: Preço acima da linha de cima e sinal de venda no BT2 if(!HasOpenPositions(Symbol(), MagicNumber) && CheckStartMarket() && currentPrice > upBuffer && redArrowValue == 1 && blueArrowValue > 0 && previousOpen > upBuffer) { SellOrder(TakeProfit, StopLoss); partialCloseActivated = false; breakevenActivated = false; Alert("Venda efetuada!"); } // Condição de compra: Preço abaixo da linha de baixo e sinal de compra no BT2 if(!HasOpenPositions(Symbol(), MagicNumber) && CheckStartMarket() && currentPrice < dnBuffer && blueArrowValue == 2 && redArrowValue > 0 && previousOpen < dnBuffer) { BuyOrder(TakeProfit, StopLoss); partialCloseActivated = false; breakevenActivated = false; Alert("Compra efetuada!"); } }
BrainTrend2Sig:
BrainTrend2Sig Ist ein Indikator für den Trend im Markt, wobei die Kerzen je nach Trendrichtung farblich markiert werden.
Autor: Nikolay Kositsin