Generates a random number, and if this number is even, it will buy, if odd - it will sell
RSI modified to show the excess of the market (more than 70 and less than 30), and show you the divergency with the price
Hi, Let me explain. I have one indicator, who draws objets and make the calculations for the trade. All the datas are ready in some global variables. In my EA, the first thing I do is to open the indicator, like that : handle_indicator = iCustom ( _Symbol , _Period , "Examples\\RSI_Divergence" );
Hi, My custom RSI indicator with divergency freeze, and I don't know why. It freezes when you change timeframe or when you change profiles ... Please find the file attached