RodionPronin / Profile
Friends
Requests
Add friends via their profile or user search and you will be able to see if they are online
Outgoing
RodionPronin
Added topic params arguments
Hi, I can't seem to find an example of defining a function with an arbitrary set of parameters, just like Print(...) is defined. How do I go about declaring and then accessing a parameters array? A code example, or a link to
RodionPronin
Added topic suppress modify notification messages
Hi, I'm working on an EA and I'm implementing a trailing stop loss , since neither MT4 nor my broker supports that feature out of the box, I have to implement it programmatically by modifying a SL closer all the time. That leads to a lot of Modify
RodionPronin
Added topic Calculating profit with a given price
Hi, I'm trying to write a function in MQL4 which will calculate my total profit (could be negative, which would mean loss) at a given price. In other words, if I have an open Buy order at price P1 then: my profit at P2 would be ((P2-P1) * volume) -
: