Inp_Pyramid_Multiplier = 3.0 // Scale multiplier (probe → main)
Inp_Pyramid_Max_Lots = 2.0 // Hard cap: max lots for any single position
Inp_Pyramid_OnlyProfitable = true // Pyramid only if last position is in profit
Logic:
No open positions: lots = target_lots / 3.0 — a small probe is opened (1/3 of normal)
Position exists: lots = last_volume × 3.0 — scaling up to full size
If OnlyProfitable = true and the last position is in loss → pyramid is blocked
Log:"Pyramid blocked: last position not in profit." / "LOT CAP: 4.50 -> 2.00"
g_CompoundBuffer is read from an external TXT file. Allows percentage-based growth of the capital base at configurable intervals: Daily / Weekly / Monthly. Enables a compound interest effect on a locked base without changing EA settings.
g_CompoundBuffer jest odczytywany z zewnętrznego pliku TXT. Pozwala na procentowy przyrost bazy kapitałowej z interwałem: Dziennym / Tygodniowym / Miesięcznym. Umożliwia efekt procentu składanego na zablokowanej bazie bez zmiany ustawień EA.