Placing trades should only happen within the hours set by the block. Move the once per bar under the check positions, so it only activates once the condition is true.
Posts made by jstap
-
RE: Need help ATR stop lossposted in Questions & Answers
-
RE: Need help ATR stop lossposted in Questions & Answers
I can't in as much as this is exactly what I would do.
Your BE wants to be more like this: (basically eliminating ethe time filter and once per bar)

-
RE: Need help ATR stop lossposted in Questions & Answers
This depends on whether this is the spread difference, then for example, you want to maybe stop if the spread is too high, adjust your position, or use a higher TF where the spread has less of an impact. The truth is what you want to do is whatever your situation requires.
-
RE: How to build an Indicator ??? (Urgent Issue)posted in Questions & Answers
O dear thank you for calling me a child, but is probably an indicator of your age, no one is superior, but people have to have a small understanding to grasp what is offered as help, then that is what it is. Help is offered free on these forums, but how that is used is up to the individual.
@Alfie I replied to your post, but what I offered is from years of learning and experience, so I know it works correctly if not Meta would not advertise or create the code.
FxDreema is an amazing tool, but it just helps you organise and implement Meta code.
-
RE: Need help ATR stop lossposted in Questions & Answers
It is not my instructions that were wrong, it is not understanding how meta trader works. What I said is perfect as other posts you made have said.
-
RE: How to build an Indicator ??? (Urgent Issue)posted in Questions & Answers
Good buy mate, I tried to help but you think you know more than me, look at my posts and you have an answer to everything you asked for.
-
RE: How to build an Indicator ??? (Urgent Issue)posted in Questions & Answers
Don't, show my side hahaha, all I showed was that when people accuse me of trying to sell something I didn't. I still try and help, is not me showing my side when it is others assuming things that aren't true are. Nothing in your project turns a bool true/false, and nothing changes the text to false.

-
RE: How to build an Indicator ??? (Urgent Issue)posted in Questions & Answers
You too are idiots! Look at the amount of posts I have placed and responded to, I have helped more people on these forums than anyone else. I said exactly how to achieve what you asked! Add a shared link, not pictures so people (who are trying to help) can see inside blocks and advise where you are going wrong! And in most cases, you do not need and blocks, because things connected in a row, only work if above is true.
-
RE: How to build an Indicator ??? (Urgent Issue)posted in Questions & Answers
FX can only make EAs or scripts, these can work like inductors. Create the project, under a condition when a cross happens turn a bool variable true/false, then display this variable in a comment.
-
RE: close Position in specific directionposted in Questions & Answers
Possibly but it would be quite a bit of work, try and use pink blocks to loop through trades, check the lot of each trade, and if higher than the rest close. At the same time, martingale trade means that the last place will be the highest, so just close the last.
-
RE: How to use constant/bool with chart valueposted in Questions & Answers
Change PERIOD_ and the chart will open on whatever TF you want. You can't put it into 1, unless you use enum and quite a few variables, is a lot of work though
-
RE: how to read the indicator objects from chartposted in Questions & Answers
Ad a shared link to look at
-
RE: How to use constant/bool with chart valueposted in Questions & Answers
My bad there is only 2 parameters, remove NULL,
-
RE: how to read the indicator objects from chartposted in Questions & Answers
Ok then to get something working from this, double-click and copy the name into object on chart and get the candle ID, then check if this matches candle ID0 or ID1, if so draw a line to check, or put this ID into a comment, so you can backtest and check
-
RE: how to read the indicator objects from chartposted in Questions & Answers
Does one of those objects appear when something needs to happen?
-
RE: how to read the indicator objects from chartposted in Questions & Answers
Take a picture of your object list, and I'll say what to do to get the relevant data
-
RE: how to read the indicator objects from chartposted in Questions & Answers
Go onto your meta trader terminal and load the indicator, then open the object list, if the object is there, you can read and double click and read all parameters to work with it. I always use name to find and work with an object. If the object is not there I know of no way to use it.
-
RE: help me !!!! How to enter the next order when the candle closes?posted in Questions & Answers
@Alden-mai I will help you learn but tell me what it is you want to learn about
-
RE: How to use constant/bool with chart valueposted in Questions & Answers
You have said exactly how to do that in your post (unless I misunderstand), a bool constant for 1 particular asset, string constant with symbol name, and blocks under the condition to complete the required actions. Let me know if I misunderstood, also I would use buttons/edit fields to achieve.
-
RE: Stop all Trading for the dayposted in Questions & Answers
check profit (period of time) < value above buy/sell, check profit (period of time) > value above close block (or without if you want the trade to run until profit)