trend Pine script code to detect the chart is trend or range or neutral, works in all TFs and with all assets. Modiri Trade