Need PI Code for below strategy

Please send me PI code for below mentioned Strategy.

 For combination of Chart Style-Colored Line and Chart type- Line Break 

Inline image

 

Generate Buy Signal:- When system shows above combination from red line to Green line

Inline image
 

Generate Buy Signal:- When system shows above combination from Green line to Red line

Inline image
 

Hope you can create this code for PI and send me as early as possible.

Line charts are not available as of now in pi , it can be coded on candlestick charts.

images are not loaded properly. is question about line charts? or green and red candles ?

AlgoGeek , I believe the question is about both line break chart and (red / green lines)…
steps:1 - Retrieve any stock(say IDBI bank)
Steps2: apply line break chart (instead of Normal Candle stick chart)
Steps3 - Change the pattern from candle to coloured line ( this is available in Kite Webversion)
Buy Strategy:
When the colour of the line changes from red to green
Sell strategy:
when the colour of the line changes from green to red

Yes i want this strategy code as you commented.

Then please wride code on candlestick charts and send me.