using spread
-
Hi guys,
I have a question on how to use spread block condition.
which one below would be the best (see the right operand)?
is the pips as value necessary?
or by defining the value numeric, it is already obvious?Thanks in advance!
-
@andrewfrank Use the green filter block called spread.
-
Ok Thanks! @jstap
but are those above I've been using sofar wrong?
-
@andrewfrank You can do it that way but I believe this value is pips, so you would need to change the left operand to pips, easier to just use the ready to use block.
-
@jstap ok. thanks man!
gotcha, it does make more sense use the ready to use block. -
@andrewfrank I meant right operand.
-
@jstap so it'd be like the second picture ?
-
@andrewfrank Like the first picture but maybe value as is, you'll have to put this into a comment block to see what value type is returned, as I said the green spread block is far easier.
-
@jstap ok thanks once again!
-
Hi @jstap ,
I was using the spread filter, but somehow it didnt work or maybe I use it wrong.
in my case, I put the spread value must be lower/equal than 30 in order to take a trade (see pict 1), however the EA just took the trade even when the spread value higher than my set, which is about 180, (I confirm this, because it is the time period of day changing, where the high volatility was) .
So, I was wondering, was it because the digit of spread value. When I put it 30 in my setting (see pic 1), does it actually mean 300 pips as in the Metatrader, because the MT add one digit extra (see pic 2)?
if not, any idea why spread filter wasnot working?pic 1:

pic 2:

Thanks in advance!
-
@andrewfrank This has a never been a problem for me, the spread for forex should be in pips so correct, others may be points in which case roughly 30 = 3 so shouldn't affect this, when you load the EA to the chart in the bottom left you have the spread as long as this is less than your set amount all should work.
-
@jstap hmm..weird.
that's what I also thought.Thanks anyway.

-
@andrewfrank the spread on MT4 is always in points, means 1/10 of pip

-
@ambrogio
ok. then in my case when I put 30 pips in the spread filter block, does it mean 300 points? -
@andrewfrank said in using spread:
@ambrogio
ok. then in my case when I put 30 pips in the spread filter block, does it mean 300 points?Yes!
-
@ambrogio ok. Thank you!
-
You can use alerts and a "stupid bot" that only checks the spread, to confirm if the spread that the bot and you see are the same (I had the inverse problem as my spread in pips was 10 more than the bot detected).