quick question, whats the theory and purpose of turning them off?
Posts made by TipsyWisdom
-
RE: Close pending order before midnight and Reopen it after Midnightposted in Questions & Answers
-
RE: How to draw a rectangle (BOX)?posted in Questions & Answers
@ryuzaky change selection B at the top, to no. Do not allow it to redraw, but A should be yet. To allow it to draw once per bar. That should work. If you click on the words of what A and B are, it will open adescription of the configurations
-
RE: lots optimizationposted in Questions & Answers
@od per trade like that? I dont know that I would try. If I need to identify each trade, just give it a group number. Its an addition to the existing magic #
-
RE: How can I find the average opening price for the last two positions?posted in Questions & Answers
@jstap hahaha...the good ol sleep medicine.
-
RE: Close all trades on profitposted in Questions & Answers

the way this is built, on every tick you are seeking to close profitable trades. The logic seems right, but I would design it so that it would close any profitable trades after all conditions of another trade are met.
get rid of once per day and use once per bar, with a daily TF selected.
-
RE: Pip Value Of Closed Trades Since Specific Time (not number of trades)posted in Questions & Answers
top left corner

click get link


then click on that link and it will show the shared link in a new window or tab.
-
RE: Close all trades on profitposted in Questions & Answers
the pink blocks are titled 'For EACH Trade', meaning, each single trade.
One way to do it would be to check equity at the start of the day, put into variable. Now check that equity as often as you need (after each trade? each tick? etc.) and compare it to the current equity. Once it exceeds by the desired amount, turn off the trade blocks and then used a once per bar on a daily time frame to turn then back on.
-
RE: Limit open orderposted in Questions & Answers
surely if you lower the offset you will get more trades.
-
RE: Close pending order before midnight and Reopen it after Midnightposted in Questions & Answers

this might work
Logic says pending order or not,
between the hours of: 2330 to 0030 server time
Delete pending orders and turn off your buy and sell blocks, else (2330-0030) turn on buy and sell blocks.You will need to fill in the blocks yourself. This is MT5, I dont do MT4.
-
RE: Can I hire/pay someone in this forum to build me an EA? (Fast emergency request)posted in General Discussions
i wont take your money, but you can message me the idea and we can start from there. I also wont pursue you for more money if it doesnt work as intended even after your instructions.
-
RE: Create a pending every new trade at fixed distanceposted in Questions & Answers
for slippage, i dont know. No broker is going to let you trade that cheap though and get away with it. Unfortuntaely as well, thats something youll never know how it affects the robot until you start trading it on demo. With that low of pips, you probably also have to worry about your latency, VPS would be suggested.
-
RE: News Indicatorposted in Questions & Answers
@darekl mt5 pushes news to their charts, surely theres a way to use it. MQL5 forums would be the best place to search for that.
-
RE: Need solution. EA keeps freezing MT5 strategy tester 2 or 3 months into test run.posted in Bug Reports
@chris-6 does it trade any different moving those filters?
-
RE: How to check if the last 30 candles are closed above moving average?posted in Questions & Answers
i feel like thats totally illogical and this would probably work....
For longs
- if no position (be sure to specify in that block as well as all symbols and all groups)
- ma5 on c1 is above ma 20 on c1. current time frame
- candle 1 cross above ma 100 (very important, there is now a cross width to can edit in between the 2 ampersands now, that will let you select 30). current timeframe.
- final condition for c1 to do something. current time frame.
Do not share any of the blocks with the sell side and recreate for that with opposing conditions if thats what works.
-
RE: Trade Limit to x timesposted in Questions & Answers
@zedeai2 alright. @ me if you need anything else!
-
RE: Trade Limit to x timesposted in Questions & Answers
Im saying that people will normally stop themselves from trading the remainder of a day for instance after reaching a profit target. They will turn off all blocks from trading. Then 30 minutes after midnight they will be turned back on so that the trading can continue.
At this point you have only asked how to turn off blocks. Do you plan to turn them again too? At what point is that? What logic will you use to say...its ok to trade again?
By time of day? By a certain trading condition? A certain "trend" up or down?
-
RE: Trade Limit to x timesposted in Questions & Answers
How do you know there won't be 7 consecutive wins sometimes and other times it will be 2?
