Jump to content

Forex Prediction


Recommended Posts

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

Link to comment
Share on other sites

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

SEFC Mode= Red light ...(off) ..

"Indonesia Forex Community"

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...