Forum

I need a help in my EA

hi there, My EA is simple I have an Indicator called 100 pip Daily Scalper designed by Karl Dittmann my EA works as : 1-entry sell position when the indicator alert sell 2-entry buy position when the indicator alert buy 3- exit sell position after take profit 10 pip 4- exit buy position after take

I need help in my EA

I need the CODE of the difference between the last tick and the previous tick of the last tick for Example the last tick for Eur is 1.3254 and the previous tick of the last tick is 1.3256 so the difference between them is 1.3254-1.3256=-0.0002

Gap Detector

I need Help in my EA I need the code of the difference between the last tick "last price of currency" and the tick before the last tick for Example last tick for Eur is 1.3254 and the tick before the last tick is 1.3256 so the difference is 1.3254-1.3256=-2