polymath
polymath
Friends 1
polymath
Added topic myposition.Stoploss() not giving new modified SL level
Hi guys, I'm still having problem with my trailing stops.  The stoploss level is supposed to be changed only if the price minus the trailing stop point is greater than the existing stoploss point.  But in my program, the stop loss is being
polymath
Added topic Trailing Stop Error: Invalid Stops
Hi guys, I've been having this error the entire day while trying to figure out a way to place trailing stops to my positions.  I'm getting an " invalid stops " error.  I've read through some of the previous posts about the invalid stops but
polymath
Added topic How to implement a trailing stop
Hi guys, I've  been using this tutorial as a template for my EAs because it's easy to read and add indicators and conditions to it:   https://www.mql5.com/en/articles/100 But unfortunately, I couldn't add a trailing stop functionality to
polymath
Added topic How to get Position opening time?
Hi guys, I'm just wondering if there is a function to get the position opening time here in MQL5? I've read the various trade functions and the data structures but can't seem to locate this function.  I'm intending to close a position based on a
polymath
Added topic EA to trade only on certain time periods
Hi guys, I want to make an EA only trade in certain time ranges? I can't seem to locate any tutorial on timers in the article section.  I'm also confused regarding the time here in MQL5, what time does all our platforms follow? our individual
polymath
Added topic Backtesting Strategies in Alpari MT5
I've been encountering problems with backtesting in the metatrader 5 platform specifically entering Stoploss and take profit levels similar to the problems raised by some members before:  https://www.mql5.com/en/forum/7012 I'm currently using
polymath
Added topic WEIRD: Strategy Tester Results don't change even if parameters were changed
Hi guys,  I've been exploring the strategy tester and playing with some EAs in the article and code base sections.  When I backtest an EA for the first time and change the parameters for the second backtesting (e.g. stoploss,takeprofit,etc)
polymath
Added topic Different moving average value...
Hi guys, I've made a simple code to buy when the price is above the moving average and sell is the price is below the moving average everytime that there is no position open.  I checked the backtest and saw that the code is not performing as I
polymath
Added topic Easier way to know if last trade was profitable...
Hi guys,  I was thinking of using the profit or loss of the last trade as one of the conditions for buy and sell signals.  I found out a way to get the profit/loss by using this function: AccountInfoDouble ( ACCOUNT_BALANCE ) and storing it
polymath
Added topic Unexpected token error
//+------------------------------------------------------------------+
polymath
Added topic Couldn't get this simple 2 MA crossover EA to work...
Hi guys, I'm sorry if this is a very noob question, but I wanted to test out this EA: https://www.mql5.com/en/code/261 but I couldn't get it to work, here's the error that I got:   Appreciate if anybody can help me on this, I've been on this
polymath
Registered at MQL5.community