Hi I want codes for below strategy
Stochastic graph with the following parameters
%K periods 14
%K slowing 3
%D periods 3
MA type exponential
Buy: When the above graph is below 20 and when %k cross over %D ( %k is above %D)
Sell : When the above graph is above 80 and when %K cross over %D ( %k is below %D)
As per the above condition
BuyScript:
SOPK(9, 3, 9, SIMPLE) > SOPD(9, 3, 9, SIMPLE) AND SOPK(9, 3, 9, SIMPLE) < 20 OR SOPD(9, 3, 9, SIMPLE) < 20
SellScript:
SOPK(9, 3, 9, SIMPLE) < SOPD(9, 3, 9, SIMPLE) AND SOPK(9, 3, 9, SIMPLE) > 80 OR SOPD(9, 3, 9, SIMPLE) > 80
Hi I need the above code in stochastic graph with %K periods 14,%K slowing 3,%D periods 3,MA type exponential
Shall i change the 9,3,9,simple to 14,3,3,exponential ?
you can modify to Exponential in the place of simple,