please will like to know if someone can convert an indicator in mql4 to mql5 will be very grateful. indicator attach below
Attached File(s)
MT4 build 1220 EA running OK, build 1260 not OK 1 reply
Why your broker is your friend and your enemy 4 replies
MT4 Compiler Build prior to Build 6xxx 7 replies
Making your Indicators work with MT4 Build 600+; Simple! 1 reply
Build 201 has new function names that can mess up your EA 0 replies
// I designed Lot Box, Lot Minus, and Lot Plus - no functional for now. ObjectCreate ( 0, trade_panel + "LOT_BOX", OBJ_EDIT, 0, 0, 0 ); ... ObjectCreate ( 0, trade_panel + "LOT_MINUS", OBJ_RECTANGLE_LABEL, 0, 0, 0 ); ... ObjectCreate ( 0, trade_panel + "LOT_MINUS_LABEL", OBJ_LABEL, 0, 0, 0 ); ... ObjectCreate ( 0, trade_panel + "LOT_PLUS", OBJ_RECTANGLE_LABEL, 0, 0, 0 ); ... ObjectCreate ( 0, trade_panel + "LOT_PLUS_LABEL", OBJ_LABEL, 0, 0, 0 ); ... // LOTs Close--------------------------------------------------
DislikedHey D. Great thread. I Have EA that relies soley on maths/indicator/logic. I have been trying to build it in FxPro Quant builder. It's drawn as flow chart with inputs, AND/OR logic and indicator values. And as such contains some code. Now i can get a simple buy on first tick EA to open but when I add other things into the mix it doesn't work. I don't know what bits of code do what. How do I arrange all the bits together to form a working EA? I understand it's a bit vague but I'm hoping this opens up questions so we can get into specifics. Reason...Ignored
DislikedLovely. Thanks I'll take aclook at EA builder and go from there. Do all these third party softwares have to use the same code. For instance buy on first tick would be same actual piece of code regardless of software used. Each software just has a different UI and way of displaying same code?Ignored
Dislikedplease will like to know if someone can convert an indicator in mql4 to mql5 will be very grateful. indicator attach below {file}Ignored
DislikedHi, I have zero experience about codes. So I yesterday started build my (mini - for now) TradePanel. I designed "Sell, Buy, Lot Size / (Lot -, +), Stop Loss and Take Profit (SL, TP unchangeable)". So "Sell, Buy, Stop Loss and Take Profit (SL, TP unchangeable)" works perfectly. But I do not know how can I write codes for "Lot Size / (Lot -, +)". Whats your advice me? Please help me. Have a great Weekend, Max // I designed Lot Box, Lot Minus, and Lot Plus - no functional for now. ObjectCreate ( 0, trade_panel + "LOT_BOX", OBJ_EDIT, 0, 0, 0 ); ......Ignored
Mql4 book: S. Kovalyov
Programming in Algorithmic Language MQL4
Introductory Course
DislikedD.s, got question for you. So i have an ea, as most of mine is rather complicated. I know im knot a good coder, so i just make it works at first with all calculation working. Then i optimize the code manually, eliminate some i dont use and making it more "readable" by adding comments, grouping similar steps, etc. This often create problems, which i then sort after some times. This is my kinda SOP. I curious about these, hope you could helps clarify this: 1. I confirm than the result of these formula is different after debugging: (A>=B) are not equal...Ignored
DislikedAlways reset after closing an open trade or only reset after closing a trade because "the risk is too great"? The first, I suppose. I dont understand why you initiate "close signal" when "10 period SMA between 20 and 50 period or 50 between 10 and 20 period". After the initial rules, trades are only closed "when there is 100 pips profit or a new opposite signal is generated or risk increases", and "10 period SMA between 20 and 50 period" is not an opposite signal (nor is an opp signal that "50 period is between 10 and 20 period"). May be the explanation...Ignored