I'm not sure how to ask this question. Is there such a thing as a mostly common practice to extend the return=true even after the initial trigger is no longer true ? bool up_fib() { {
Not sure which category to put this in but I'm on MT4 Today EA copy trader removed from master and all slaves and cannot reattach. NO error and not message on chart when attempting to add them back.
Why does this show more then the number of digits that the broker has ? Example: Print("Last incoming ask price=",MarketInfo(Symbol(),MODE_ASK)); Shows EURUSD,5M, .98806 etc. However, it fluctuates and shows things like
Hi all, In this code I am count back bars for the MACD true indicator (iCustom) etc etc. I use these bar count to initialize i in parts of the code. This locks up the EA and Metatrader stops responding. How to diagnose this or
Hi, Sorry for this stupid question but when I add items from market place to pocket what does it do and where does it go ? Is there some way to view the pocket ? I assumed that it was some sort of wish list or watch list feature or
As the title indicates my question is this: Can I make a buy/sell/close button that can trade on multiple instances of the platform instead of doing some copy trading type thing ? Please advise Thanks
For example I used multiple OBJ_RECTANGLE_LABEL to make a meter / gauge Something like with just multiples of this and place in a row. ObjectSet(name1, OBJPROP_XDISTANCE , 75 ); ObjectSet(name1, OBJPROP_YDISTANCE , 380
Reading these documents and ObjectCreate() and "properties" https://docs.mql4.com/constants/objectconstants I am expecting that changing the object type should change on the chart but only a few actually show changes on the chart.
Hi all, I guess what I really need to plan my next project is a generalized list of what custom indicators CAN'T do. vs what EA's CAN'T do. Or at least some main feature differences that might guide me in deciding EA vs Indicator.
Prop firms requiring sl/tp placed at the time of the order Is this possible with EA or script ? I have searched code base and market for such a tool but those descriptions seem to suggest pending orders not market orders. Perhaps I'm not
I have been using the MT4 MACD visually and manually to trade MACD and trigger line crosses. Visually the MT4 MACD histogram and red line cross at similar to typical MACD crossing lines. However, the MT4 does not provide any code to make use of the 3
I was running this EA on demo for testing. See the image showing a Buy signal and when the 1M and 5M MACD crosses down it was suppose to close trade but it didn't. I don't see why but the code seems ok to me. Thanks
I am working on an EA that has some success, but also has failures during volatility. For example: if 5M MACD down to sell. However, volatility and candles are actually going up quickly. So we get multiple selling and s/l's hit because 5M MACD
I guess I should be asking if I can actually get OrdersHistoryTotal() and limit the return to show the closed trades for today only ? I mean I know I can Print(OrdersHistoryTotal()); and this will give me the total orders of whatever I select