Forum

ZigZag Indicator Slope ?

Hello I'm trying to find a way to calculate zizag indicator slope So far I was able to do so only in visual mode using ChartTimePriceToXY function But need solution that can work without visual mode

How to get day of week for yesterday ?

I know day of week returns today https://docs.mql4.com/dateandtime/dayofweek How do I get yesterday day of week

MM Formula that includes trade cost ?

Hello I was looking for proper way to calculate position size that includes the cost of placing a trade (spread, commission) So overall if I have $10k account and choose 10% risk After a losing trade, I will have exactly $9k left in my account balance