Forum

How to calculate potential profit

Hi, In MT 4 when hovering on a TP line, you can see the potential profit for that trade. When the TP is actually hit, the potential profit becomes realized profit. Now I want to calculate the total POTENTIAL profit for all open orders, including the total swap and commission and display this value

How to get a Heiken Ashi bar that has no wick?

I'm trying to create an indicator as part of a complete trading system, that generates an alert when a Heiken Ashi candle is closed that has no wick. So for a bearish HA candle, no wick at the top @ close -> Alert. For a bullish HA candle, no wick at the bottom @ close -> Alert. Any ideas how to

MT4GUI anchor?

Hi, I use MT4GUI for adding a checkbox like this: CB1 = guiAdd(hwnd,"checkbox",800,80,12,12,""); guiSetBgColor(hwnd,CB1,Black); It works great, however, I cannot find a way to set an anchorpoint, so that the MT4GUI checkbox anchors to the right side of the chart window. I contacted the MT4GUI