Forum

Apply Bollinger Bands to Previous data (MA)

Hello I'm trying to use Bollinger bands indicator with data from MA indicator. I read in the documentation that I can use iBands to handle buffer of data from my MA indicator, but the example seems complex o me. can anyone please explain me how to do this? Let's say I used this code to calculate the

Kill EA if TimeCurrent is greater than a defined Date

Hi, I'm trying to stop the EA if the TimeCurrent is greater than a defined Date1. The program is working fine IF the two date are different , But once the dates are identical and the difference is only in time, it's not working (eg: TimeCurrent is: 2021.01.24 01:47 and Defined date is: 2021.01.24