Need help to create EA based on condition BUY-SELL-BUY-SELL in opposite
-
Hello, I want to create an EA with condition : BUY-SELL-BUY-SELL in opposite. But the indicator is not based on crossing average, it's my customized indicator.

BUY : if Red line is appear, and closes it if the blue line is apper
SELL : if the Blue line is appear, and close it if the Red line is appearI had try to do as in example in this link but it's not working : https://fxdreema.com/examples#Simple-Programs
An then now I try to do like below pic (Setting the Block BUY & SELL) :

I don't know whether the logic is correct or wrong. Please help me

Thank you
-
Can you even detect signals from the indicator?
-
@fxdreema hey what ever he got going on there looks really good is there a way u could creat an EA like that I had ask a couple of questions be 4 but u have not replied is based on the same consep can u email me if possible calameda211@gmail.com
-
@fxdreema Hello, sorry I don't know how to detect the signals?
-
@calameda Hello, sorry I am on travelling with poor internet connection. Apologize I can't see your questions yet that's why I didn't reply it yet. Where is the questions?
-
@fxdreema I need the same. A have 0_1546725694699_Leledc-ExhaustionBar1.mq4 this indicator but i do not make a buy or sell using the dots.
-
Try it like this:

-
Apologies but I could not, I'm still a novice. I want to sell in the red dots and buy in the green dots.

-
This is what I tried:

The rest of the blocks are like in the Buy-Sell-Buy-Sell example. This is the result:

At leas I have some trades here and there.
-
Muchas gracias, es de suma utilidad, un saludo y gracias por responder.
-
Hice lo mismo pero no me compra ni vende nada. Que tengo mal0_1547292216384_prueba (1).mq4 ?
-
You are using different indicator for this. I don't have it, so I can't test it. But anyway, when you are using any custom indicator, check how it works with Trace first. Something like this: https://fxdreema.com/demo/mt4-trace-multiple And when you see that pink line, then you can use it. If it prints arrows here and there (not continuous line), then you can try to set Candle ID to 1 or more... it depends on the indicator.
-
Gracias, administrador, voy a intentarlo. Un saludo