BEP (titik gak untung dan gak rugi)
Rumusnya = (Jumlah perkalian Orderopenprice dengan orderlots)/jumlah orderlots
contoh dibuat dalam fungsi
double Bep( int tipe)
{
double price = 0, lot = 0;
for (int ord_pos = OrdersTotal() - 1; ord_pos >= 0; ord_pos--) {
Sleep(1);
if (!OrderSelect(ord_pos, SELECT_BY_POS, MODE_TRADES)) continue;
if (OrderSymbol() != Symbol() ) continue;
if (tipe != OrderType()) continue;
price += OrderOpenPrice() * OrderLots();
lot += OrderLots();
}
if (lot > 0) {
price = NormalizeDouble(price / lot, Digits);
}
return (price);
}
http://jumforex.blogspot.com/2013/01/belajar-membuat-ea-sederhana-23-average.html
ForexTrendy is an advanced software capable of recognizing the most reliable continuation chart patterns. It scans through all the charts, on all time frames and analyzes every possible breakout.
ReplyDelete