Hello everyone,
I would like to use my system to buy stocks with the smallest RSI. Unfortunately, this does not work with my formula that I have written so far. Here is an attempt at my formula:
filter = 1;
AddColumn( RSI( 14 ), "RSI( 14 )" );
AddColumn( Sort( RSI( 14 ) ), "Sorted RSI( 14 )" );
AddColumn( Sort( Close, 0, -1, True ), "Index of sorted item", 1.0 );
Buy = RSI( 14 ) < 20
Sell = RSI( 14 ) > 85;
Could you please help me make the formula work.
Thanks in advance and have a nice day!
Michael