As per the above condition
BuyScript:
SOPK(9, 3, 9, SIMPLE) < 20 OR SOPD(9, 3, 9, SIMPLE) < 20
​SellScript:
SOPK(9, 3, 9, SIMPLE) > 80 OR SOPD(9, 3, 9, SIMPLE) > 80
This code is only for following
Buy signal If both %K & %D are less than 20
Sell signal If both %K & %D are greater than 80
The code for cross over of %K over %d and vice versa needs to be added.
Can anybody provide the code for the above crossover?
This code is not for cross over at all. It is noly to know whether both %K and %D are above 80 or below 20.
Hello AlgoGeek,
I think this is the code i was looking for if you can simply add cross over part into it
Regards
Chandan thakur