The EMA cross over signals faster on 4 hour intraday:
input price = close;
input length_short = 5;
input length_long = 7;
input displace = 0;
input showBreakoutSignals = no;
plot AvgExp_short = ExpAverage(price[-displace], length_short);
plot AvgExp_long = ExpAverage(price[-displace], length_long);
plot UpSignal = AvgExp_short crosses above AvgExp_long;
plot DownSignal = AvgExp_short crosses below AvgExp_long;
Does anyone know how to define the study to signal on 4 hour intraday conditional orders?
input price = close;
input length_short = 5;
input length_long = 7;
input displace = 0;
input showBreakoutSignals = no;
plot AvgExp_short = ExpAverage(price[-displace], length_short);
plot AvgExp_long = ExpAverage(price[-displace], length_long);
plot UpSignal = AvgExp_short crosses above AvgExp_long;
plot DownSignal = AvgExp_short crosses below AvgExp_long;
Does anyone know how to define the study to signal on 4 hour intraday conditional orders?