Hi,
Can someone make an afl and help me out with the following condition for intraday.
We will be on 5 min TF Chart all the time but need to satisfy condition of 30min TF Also.. only then the signals to be generated.
settings for both 5min tf and 30min tf
ema5 and ema 13
stoch Simple %k period= 8
avg =3
%d period = 8
%k avg = 4
%d = 3
1. Buy/Long
On 5min TF chart, when 5Ema crosses above 13EMA AND
5min & 30min Stoch k crosses above d slow and k,d < 80
2. Sell
on 5min tf chart, when stoch k<=d
3. Short
On 5min TF chart, when 5Ema crosses below 13EMA AND
5min & 30min Stoch kcrosses below d slow and k,d >20
4. Cover
on 5min tf chart, when stoch k>=d
I know this is little bit complicated.