luckyvictor
luckyvictor
Friends

Add friends via their profile or user search and you will be able to see if they are online

luckyvictor
Added topic telegram not able to send my message
Hi All I have follow this instruction to create a EA that send me message.  https://www.mql5.com/en/articles/2355 However i have got error of  TelegramAlertMT4_MAsignal XNGUSD,M15: {"ok":false,"error_code":400,"description":"Bad Request
luckyvictor
Added topic how to create a rectangle alert indicator?
Hi All I would like to create (or find if there is one already existed) such indicator. On the chart, I would manually draw some rectangles to represent the zone of the price i am interested, when price comes into this zone, it then sends me an
luckyvictor
Added topic Problem with division?
Hi All I am trying to create a ROC indicator, but for some reason, it doesn't get displayed, the code is below double ROC, CurrentClose, PrevClose; double RateOfChange[];       CurrentClose = iClose ( Symbol (), 0 , i);
luckyvictor
Added topic RSI indicator code
Hi all I have used the code below to replicate the RSI indicator, as a small learning exercise, but I get different result then the built in one that I apply on graph. Why? Below is the screenshot, grey is the MT4 built-in one, blue is mine, both are
luckyvictor
Added topic How to code indicator applies on another indicator?
In MT5 chart, when you drag an indicator, you can choose to apply from the standard price values, for first/previous indicator. In terms of coding, how can this be achieved? E.g I want to apply moving average on another moving average, or MACD on
luckyvictor
Added topic coding moving average over other indicator
hi in mt4 terminal, i know that we can use moving average over other indicator by select apply to previous or first indicator. if i am writing my own indicator or EA, and would like to do the same, how should the code be please
luckyvictor
Added topic Strange division problem
Hi All I am coding the following, the code returns no error but doesn't seem to do the calculation.         double Top =( iClose ( Symbol (), 0 ,i)- iOpen ( Symbol (), 0 ,i));       
luckyvictor
Added topic mobile trading app that allows technical alert set up
hi  does any one know any android mobile trading app (either from broker or platform), that allows technical alert to be set up, from the mobile end? for example, i can set an alert from a list of technical indicator, than choose > = <
luckyvictor
Added topic How to build a EA using LSTM model?
Is it able to build a EA using LSTM RNN model in Metatrader?  I have done some research and found something called FANN, however it seems to work with simple neural network only. 
luckyvictor
Added topic Can I draw on both chart window and separate window at the same time?
Hi all As above, Can I draw on both chart window and separate window at the same time?  for example, if I want to draw my customer indicator on separate window, and also draw arrow on chart window to show buy/sell point, how to do it
luckyvictor
Added topic How do you calculate/evaluate the probability of your trade?
How do you calculate/evaluate the probability of your trade? Is there any actual systematic or defined structural method to do it
luckyvictor
Added topic OrderSend fail to open trade but return no error
Hi All When I do backtesting, OrderSend sometimes failed to open trade, but I got no error (e.g. error 0) when I use GetLastError() to check. Why is this the case? what could possibly wrong in here and fail to open trade? Many thanks
luckyvictor
Added topic how do you control or minimise drawdown
hi  i find it very difficult to set stop loss , because it is either hit too often or gives me a big loss. so i want to know how people do on this. i just want to have some ideas, discussions, inspiration. i know there is no prefect sure win
luckyvictor
Added topic why this piece of code doesn't draw?
Hi I am writing an indicator that draws lines on a separate window, also should draw arrows to indicator buy/sell on the main price chart. So I write the following code, but it doesn't draw, any idea why please? double CrossUp[];
luckyvictor
Added topic Why a trade can be closed outside the candle bar in Strategy tester??
Hi all I am testing my strategy, and for some reason, some trades can be closed outside the bars! How can this happen? and can this be fixed please
luckyvictor
Added topic how an indicator is running within an EA?
Hi all I believe people here may have heard of NonLagMA indicator, basically this is a trend indicator. I am trying to use this indicator to build a strategy, e.g when the trend has change, go long or short accordingly. However, working on a M30
luckyvictor
Added topic Strategy Tester, using M1 data on M5 period
Hi All I have downloaded a year worth historical data and they are in M1 format, I would like to test my strategy on M5. I imported them into history centre under M1, and when I run my test on M5, it complaints that it doesn't have data on M5. how
luckyvictor
Added topic Strange drawing problem, the arrow is misplaced by 2 bar ???
Hi all I am trying to draw out the crossing of this indicator, using both green and red arrow, the red arrows seem to be correctly placed, however the green arrows are always misplaced by 2 bars, e.g it is placed on bar 34 when it is supposed to be
luckyvictor
Added topic why zero divide?
Symb = Symbol (); RefreshRates(); // Refresh rates Min_Lot=MarketInfo(Symb,MODE_MINLOT); // Minimal number of lots Free =AccountFreeMargin(); // Free margin One_Lot=MarketInfo(Symb,MODE_MARGINREQUIRED);// Price of 1 lot Step
luckyvictor
Added topic How can I find out high/low for a specific bar please
Hi  I want to write the following into my indicator but I don't know how, can someone help me please? On each day, check the 5min bar at 08:05, and draw out the high and low for this 5min bar. (Basically is the high low between 8:00 to 8:05)
12