How To Track Indicator Signals & Check For Potential Profit

 

I have an Indicator which gives BUY & SELL signals... The Indicator is for Binary Options... Indicator Gives Signal & I Trade On the Next Candle... See My Attached Screenshot...

What i want is when the indicator gives a signal (sell or buy) i want to check programmatically if the next candle satisfies my signal (wins or loses) and calculate the winrate of my indicator... 


Example : My Indicator Gives SELL signal... i want to check if next candle really closes as a Green candle...? How do i do that? I am not much familiar with the MQL4 Language still.... Anyone's help would be much much appreciated. Thanks!

Files:
 
To do what you want we need the source code, otherwise is impossible...