Replace PERIOD_D1 with PERIOD_H1
Posts made by sktsec
-
RE: CUSTOM INDICATORposted in Questions & Answers
For block Indicator is Visible --> More setting. Is the setting really you want? Do you actually mean candle 0 only?
-
RE: Simple Problem Needs to Be Solvedposted in General Discussions
@NamiyrD
Maybe at least there should have blocks "once per bar" or you will get your "spamming buy trades" -
RE: EA TERMINATINGposted in Questions & Answers
@elimax3833
Unless you explicitly close the trades, say, in something like deinit() -
RE: Awesome Oscillator Divergenceposted in Questions & Answers
@zedeai2
Are the lines buffer or object? -
RE: I need help with creating a Forex robot that can trade spikes or antipikes onlyposted in Questions & Answers
@xivono
You first need a spike indicator -
RE: Need help with EA based on indicatorposted in Questions & Answers
@facto
Are you sure the setup of import indicator in fxdreema are correct? -
RE: Need help with EA based on indicatorposted in Questions & Answers
Importing indicator into the fxdreema doesn't mean that the indicator code is included in your EA.
You need to put the indicator into the indicator folder of MT4/5 as that the EA can find the indicator -
RE: First Candle of the Day, Locate and Identify???posted in Questions & Answers
@OntradingX
The first bar could be identified as :iBarShift(NULL, 0, 0) = iBarShit(NULL, PERIOD_D1, 0)
That means the starting time of the current bar in the current chart should be the same as that in a daily chart.
Then you could use whatever chart technique to highlight it.
-
RE: PHONE NOTIFICATIONposted in Questions & Answers
@WealthF92
Is the sound controlled by your phone setup rather than EA? -
RE: Property rights of EA and source codeposted in Questions & Answers
@SirLuk
May depend on which prop firm. I used it in one without any problem -
RE: script for all theaterposted in General Discussions
@ambrogio
You are right. It works well with other blocks. My simple test with MQL code "Print Symbol()" did not give every chart symbol which, however, were printed out correctly if they were given by some other blocks in form of variable. -
RE: script for all theaterposted in General Discussions
@ambrogio
Yes you are right. It works very well with other blocks. My simple test with MQL code like "Print Symbol()" did not work unless I used a variable to get the current symbol got by some block parameter. -
RE: Is this the correct layout for portfolio?posted in Questions & Answers
A opens trades when no A, B positions
B opens trades when no A, B positions
A closes A, B positions
B closes A, B positions
Result: open less number of trades and close trades earlier -
RE: Nothing happen: "Set Current Market for next blocks"posted in Bug Reports
@jstap
My mistake. It is good when connecting to some other blocks. Problem occurs only if connecting to a custom code block like "Print(Symbol());"It works fine if instead using the modify variable block to set a variable storing the symbol and then print it.
-
Nothing happen: "Set Current Market for next blocks"posted in Bug Reports
The block of "Set Current Market for next blocks" seems not working at all.
-
RE: script for all theaterposted in General Discussions
@priyaavatar
I tried with my tests and the block really not working