Back testing doesnt work with my query

Dear team,

                I’ve back tested ADANIPOWER DAILY chat for 6 months data on today. 

Buy script: CROSSOVER(EMA(CLOSE,12),EMA(CLOSE,26))=TRUE

.i.e. (12 day EMA crosses 26 day EMA)

Sell script: CROSSOVER(EMA(CLOSE,26),EMA(CLOSE,12))=TRUE

.i.e. (26 day EMA crosses 12 day EMA)

I’ve manually checked by plotting graphs.  There are 4 crossovers identified.  I’ve back tested the same using PI.  But test results are showing no crossovers.  Pls check this basic issue.  Is there any bug in logic or software?  






As per above condition just try with

Buy script: 

CROSSOVER(EMA(CLOSE,12),EMA(CLOSE,26))

Sell script: 

CROSSOVER(EMA(CLOSE,26),EMA(CLOSE,12))

Hii… I’ve already tried the same script in back test; but the results are not matching with original plots.