Shimada Posted February 11, 2014 Report Share Posted February 11, 2014 Here is an indicator that shows buyers and sellers percentage. It does not work in my MT4. I am guessing it is because of the MT4 upgrade. I am posting it for sharing purposes as well as for others to test if it works on their platforms. If it does not work on the upgraded MT4, then may someone with the skills please fix it to do so. https://anonfiles.com/file/b9299cc43455fec1d13c7bdbeaa4b942 Quote Link to comment Share on other sites More sharing options...
SEFC Posted February 11, 2014 Report Share Posted February 11, 2014 ld_572 = 0; ld_580 = 0; int l_pos_936 = 0; // this add for repair .... for (l_pos_936 = l_ord_total_560 - 1; l_pos_936 >= 0; l_pos_936--) { // OrderSelect() -> L-Ord_total_60 and cut Int.xxx if (OrderSelect(l_pos_936, SELECT_BY_POS, MODE_TRADES)) { if (OrderSymbol() == Symbol()) if (OrderType() == OP_BUY) ld_572 += OrderProfit(); } } for (l_pos_936 = l_ord_total_560 - 1; l_pos_936 >= 0; l_pos_936--) { // OrderSelect() -> L-Ord_total_60 and cut Int.xxx if (OrderSelect(l_pos_936, SELECT_BY_POS, MODE_TRADES)) { if (OrderSymbol() == Symbol()) if (OrderType() == OP_SELL) ld_580 += OrderProfit(); } } Here... http://www.filefactory.com/file/48c7pm0x9fg5/ForexPrediction.mq4 scwon, ⭐ kesk, Shimada and 4 others 7 Quote SEFC Mode= Red light ...(off) .. "Indonesia Forex Community" Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.