Sunday=0, Monday=1 etc, but with enum it will do this by selected day.
Posts made by jstap
-
RE: MT5 News Indicator Neededposted in Questions & Answers
-
RE: MT5 News Indicator Neededposted in Questions & Answers
It's manual, just have to add the day and time from and to, then add clocks to either close, move stops, not place new trade, or whatever you want to happen.
-
RE: MT5 News Indicator Neededposted in Questions & Answers
This is something that would be good but, on FX it would mean creating a custom block. What I do is create blocks that I can set Monday morning, so I know all will be good on the day (this is the same on MT5): https://fxdreema.com/shared/c3KjvQzWb
-
RE: PLEASE SOLVEposted in Tutorials by Users
Add this to questions, and explain what you mean. If you mean to add an indicator, save a template on your terminal, with the same name as your EA.
-
RE: How to count the symbol of opened tradeposted in Questions & Answers
You read in most blocks (very similar to normal variables) to do something with them, there is a yellow block to record the information. Any information saved from any EA will be saved here, backtest also saves here f3 will show this information on your terminal. If you struggle add a shard link to show what your blocks are doing.
-
RE: "For each closed position" block doesn't loop trades as specifiedposted in Questions & Answers
This will only work if there's no existing trade, if there is you will need to use groups or another way to restrict trade.
-
RE: "For each closed position" block doesn't loop trades as specifiedposted in Questions & Answers
You need a no position/order block on top, so this restricts new trades opening
-
RE: How to count the symbol of opened tradeposted in Questions & Answers
If on the same terminal, you can use terminal variables.
-
RE: buy/sell limit if it go up/downposted in General Discussions
Not true, some brokers allow it, but it will become an instant trade
-
RE: how to read the indicator objects from chartposted in Questions & Answers
Add your latest shared link to look at
-
RE: Stop all Trading for the dayposted in Questions & Answers
@Ben-Romewel Create your project, add a shared link saying what's not working.
-
RE: custom price stop lossposted in Questions & Answers
Add a shared link so the block internals can be looked at. Will be something simple because this can be used to set a SL
-
RE: how to read the indicator objects from chartposted in Questions & Answers
You can, but if you strip down the name in, starts and contains, it will probably ignore the numbers.
-
RE: Urgent: ATR Stop Loss values wrongposted in Questions & Answers
The 0 on the end is the candle ID (is called offset, a lot of code has it) set it to whatever candle you want the range to start from. The 0 at the start is the timeframe, 0=current, on MT4 you can use a int number, MT5 you need to use code like PERIOD_CURRENT
-
RE: Urgent: ATR Stop Loss values wrongposted in Questions & Answers
That makes sense, I will often use ID1 just so current candle doesn't affect values.