Ziobrekka / Publications
Forum
Simple moving average dead cross conditions (iMa crossover)
I want to build an EA that sell 1 lot when I have a moving average crossover, no take profit or stop loss First I check if there were no crossover in the previous bar ( iMA ( Symbol (), 0 , 2 , 1 , MODE_SMA , PRICE_CLOSE , 0 ) > iMA ( Symbol (), 0 , 10 , 1 , MODE_SMA , PRICE_CLOSE , 0 ) then if
Ho to apply a Custom indicator over another Custom indicator
Hi everyone, I'm brand new with MQL4, I'm tryng to apply a moving average to another moving average. I'm able to call my two custom averages into MT4 e to plot them. But I want to apply the second average (yellow/blue) to the first one average (red); instead all I can do is to apply them to price