The direction of the signal from the doji candle depends on the trend it is preceeded by. It is a buy signal when it's preceeded by a down trend and vice versa. The system should require it.
Good initiative though!
@supersako You can alway try the 'on timer' tab. There you can use all those blocks that can be executed every 14:59 minutes. That will probably be the closest you'll ever be to the close of the candle.
@supersako The best option is to use a button that executes or draws the lines you want, I have something similar and it is the only way I have been able to obtain.