can i write for crt
chart = tsl.get_histrocial_data(‘HINDALCO’, ‘NSE’, 1)
todays_candle = chart.iloc[-1] # today’s running candle
last_day = chart.iloc[-2] # yesterday (last closed)
second_last_day = chart.iloc[-3] # day before yesterday
#my condition rewritten
if (last_day[‘high’] > second_last_day[‘high’]) and (todays_candle[‘low’] < last_day[‘low’]):
print(“CRT condition triggered”)
And what would be the code for 2 ema crossover making more then 45 degree but less then 90 degree.
PLZZ HELP.