EntropyM / Publications
Forum
Did Structs Change with the last MT5 Update?
I am developing some Expert Advisors in which I heavily rely on structs and arrays of structs. After the last MT5 Update I was getting compile-time warnings, so I decided to extract the Code-Snippet that caused these warnings: struct myStruct{ string thisString; }; myStruct structArr[]; void
Stop Loss of current trade and a stop order for a new trade at the same price, how does the OnTrade function react?
Hey guys, I'm currently working on an expert advisor, in which I use the OnTrade() function to trigger chart object creation functions. Basically, I want to manually draw arrows and lines on the chart, somewhat similar to how the native trade entry/exit arrows and sl/tp lines work. In order to do
Array outside the OnTick function
hey guys, got a problem here: I want my EA to do a price level calculation exactly once per day and compare it to the prize level from the day before. I also want the time the calculation happens to be a user input, as well as it working on multiple timeframes. The way i am doing this is basically
mql5 help: for-loop for finding swing highs
Hi there! I was playing around programming some EAs that work with swing highs/lows. The way i detect swing highs/lows is (obviously) through the iHighest function. Now: I want to implement a user input lookback period, for example 20 bars, so that the EA finds the highest from the last 20 bars