create ADX stratergy

hello can you create code for nifty and banknifty
when ADX > 25 entry either in call or put option
and when ADX reach peak and then losing value then exit
whatsapp me 9871195-245

Hi @ashitucms

Can you share a screenshot of the chart marking your requirement so that I can get more clarity and help you create your conditions in Streak.

Condition

Start

When 20 sma cross 40

And

Adx > 25

End

When

Adx reaches max value and decreases in value seen

Like Adx 45- now 42

hi did u got ??