Forum

How to get no.of.bars between fast moving average above slow moving average

I tried get the bars between two ma crossed but it not reset and start from 0 it's looping ever please guide me in right direction

EA account check not properly working

I couldn't figure out why these happening EA auth check not working properly when account number changed its suppose to exit expertadvisor but its still working on it for same chart if itsnot changed which account restriction become useless what's wrong in it what modify i need to do /* bool