I have access to both pi & kite.
I use the below code to use on pi for signal generation.
SOPK (14,3,3) < 20
SOPD (14,3,3) >80
however these generate signals only for cross-overs happening below 20 & above 80 zones.
I want code that generates signals for all crossovers regardless of any zone.
can anyone help ?
thank you
you can use
SOPK(14, 3, 3, SIMPLE) < 20 OR SOPD(14, 3, 3, SIMPLE) > 80
1 Like
my friend, once again .
I used your code.
THE SIGNALS ARE GENERATED ONLY IF CROSS-OVER TAKES PLACE [ BELOW-20 & ABOVE-80 ] ZONES.
I NEED THE CROSSOVERS TO HAPPEN EVEN IF THEY HAPPEN BETWEEN 20-80 ZONE.
can you help me please ?
BULLISH CROSSOVER:
CROSSOVER(SOPK(14, 3, 3, SIMPLE) , SOPD(14, 3, 3, SIMPLE))
BEARISH CROSSOVER:
CROSSOVER(SOPD(14, 3, 3, SIMPLE) , SOPK(14, 3, 3, SIMPLE))
Good Luck with the codes.
1 Like
how do i code this on python ? and use it with PI bridge ?