Entry after receiving an alert from custom indicator.
-
Hi, i have a custom indicator, I'm thinking of allowing it to trade(entry) after i receive an alert from it. The custom indicator doesn't draw anything on the chart, just alerts. I can't seem to find the solution to link buy with the alert. Can anyone assist me?
-
@ezzyxo is it possible to share the indicator in order to have a look?
Usually you'd watch if there are buffers available eg. in data window <CTRL>-D and if in case of an alert any of the buffers shown there do change. -
Alright thank you @trader-philipps !!! I saw the data, It might be helpful. I'll PM you in a bit.
-
https://www.forexfactory.com/attachment.php/1467867?attachmentid=1467867&d=1405290679 . This is the said indicator, that i plan to use to entry a buy.
-
@ezzyxo Each color has a specific buffer. You might identify which buffer belongs to which color when hovering over the different candles.

Finally build a condition block where your color of interest is checked if value is > than Average value.
You can ease up your live, if you'd have the mq4 version of the indicator as the import identifies the buffers and corresponding colors already.

-
Thank you, I've managed to do it @trader-philipps but now it enter position more than once per bar, how do i control that? I tried using the once per bar block but then it wont even entry.
-
@ezzyxo please share your project link
-
@fabien-s https://fxdreema.com/shared/D7iMi7e1e here you go
-
Put a 'No trade' block on top of them all if you want just one open trade. You can also put a 'Once per bar' block on top if you just want one trade per candle. Obviously, you can combine both.
-
Alright I will try the once per bar block on top of the buy block, Previously i tried the once per bar block on top of all the block, it didnt work(didnt take any position at all)
-
@ezzyxo I haven't used that indicator yet, but was investigating it. If You work on candle 0 it might have an issue with once per bar block. As volume adds from 0 until end of bar, in the begging when once per bar is executed, there's probably no reliable value existing with it. If you work with candle id 1 it should be fine.
-
@trader-philipps I did it, thank you so much for your help
I placed the once per bar block under the condition block before the buy block.