zelda_lee
zelda_lee
Friends

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

zelda_lee
Added topic is ok to conclude that some functions are duplicates of each other?
i'm going through the help doc and am noticing some functions have a similar counterpart with little to no additional parameters to them. for example Bars vs iBars, the former has just an extra start stop time. If I don't need to use the start/stop
zelda_lee
Added topic how am i failing to do a simple division math problem?
hi, i always read that double has fractional capability, so i have tried a simple 5/3 problem, but i'm getting 1.0 int   x = 5 ; int y = 3 ; double answer; answer = (x/y); Print (answer); any help on how can i get the actual 1.6? thanks in
zelda_lee
Added topic how is enum used?
hi guys, i'm going through the help doc of mql5 and am reading about enum here https://www.mql5.com/en/docs/basis/types/integer/enumeration however there's no examples of how they're used. all I got is that one can create a list which will be
zelda_lee
Added topic just started MQL5, got a basic question on __DATETIME__
Hi guys, as per topic i'm total noob on mql5. Couple of years back started mql4 but dropped it so instead of continuing i decided to give mql5 a try. I'm trying out some basic commands and came across the __DATETIME__ so I tried printing it via the
zelda_lee
Added topic is it possible to get different $ amount in losses if you always trade the same lot with same stop loss?
hi all i always thought that if you trade the same exact lot size together with the same exact stop loss in points, you should always lose the same amount of money, so i've done the simplest EA where it opens an order at market price on every new
zelda_lee
Added topic what are the codes related to the zig zag indicator?
hi all, i've just learned that this zigzag indicator exists and i'm tempted to try and create a code and use it's values. However I'm not sure what codes are related to it. By this I mean I've searching the help but found only 3 articles that include
zelda_lee
Added topic NormalizeDouble is working always...except for values of 7.xxx
hi all I'm writing some code to calcualate lot size and then i'm using normalize to keep up to 2 decimals. It's working fine except for the value 7 as shown below. it happens in any time frame and any currency pair. I've seen normalisedouble failing
zelda_lee
Added topic how can I use a variable fron ontick in a function?
hi, i have a variable in the ontick which is based on a moving average so it keeps on changing (and thats good) I know I can't use it in a function since its not global, but if I declare it globally the value will be fixed to that when it was first
zelda_lee
Added topic showing optimization in chart/graphic form
hi all, i'm reading about optimizing a strategy and im seeing a lot charts, graphs, 3d visuals to show the optimization results . Are these done with a 3rd party software or maybe upload the report online? where can i read more about how to create
zelda_lee
Added topic EA performed better with higher spread?
hi all i'm building some random EA's and i'm noticing that many of them performed better when spread was set to higher, for example 1spread vs 15. why is this so? shouldn't 1spread give the highest possible outcome if all the rest is left the same
zelda_lee
Added topic changing order arrow size/colors
Hi all is it possible to change the arrows for the orders/stop loss and take profits ? I know there's the index/arrow options but I can't seem to find anything within the ordersend or ordermodify parameters. I'm only finding the color, not the type
zelda_lee
Added topic return function
hi all does the return function go up just one level or all the way to the very top root (ontick) for ex if you have 5 nested loops/ifs, if the 5th one hits a return, will it go back to the ontick or just to the 4th level loop? tnks
zelda_lee
Added topic moving average cross over + stochastic signal
hi all i'm trying to code the following condition (as below) I want to place an arrow the first time stoch crosses upwards the 50value, after sma20 crosses above sma50 What i've managed to code so far is showing up only when it happens all together
zelda_lee
Added topic Dynamic Arrays, can not place data in it
Hi all I'm trying to use dynamic arrays for the first time but I can't seem to place data in them. I've tried the simplest of approach to see what i'm doing wrong. Basically in the below example I'm trying to fill in the array with 5 numbers that are
zelda_lee
Registered at MQL5.community