everybody look now my friends .. for real acc or demo change this .. !!!!
if (Digits == 3 || Digits == 5) Gi_208 = 10;
but is not 3 from 5 .. change 5 from 5 .. or your digits for yours broker
my broker its 5from 5 for GBPUSD EURUSD or USDCAD ..
Spread rulzz
spread its here on this code
f (StopLoss * Gi_208 > Gd_192) {
if (OrderSelect(G_ticket_132, SELECT_BY_TICKET, MODE_TRADES)) {
while (!IsTradeAllowed()) Sleep(500);
RefreshRates();
Sleep 500 is spread .. 500 - 0.5 pip 1000 , 1 pip
on this code you have time frame and your trading value
if (str_len_36 > 6) str_concat_28 = StringConcatenate(StringSubstr(Symbol(), 0, 3), "USD" + StringSubstr(Symbol(), 6, str_len_36));
else str_concat_28 = StringConcatenate(StringSubstr(Symbol(), 0, 3), "USD");
iopen_20 = iOpen(str_concat_28, PERIOD_H1, 0);
if (iopen_20 <= 0.0) {
money managment for risk to auto lot double
(MoneyManagement) {
Ld_0 = NormalizeDouble(AccountEquity(), Li_8) * Risk / 102.0 / 100.0;
if (Ld_0 > Ld_12) Ld_0 = Ld_12;