No Trade within range OsMa
-
Hello All,
I want to create Buy or Sell Order at outside of the range horizontal line (2 red line), which I don't want any order are generated within inside of two red horizontal line.
Note this is indicator Osma
How to to it?
Thank you

-
@zedeai2 Is it a custom indicator? If so you need to identify the buffers for those read lines and select them into your 'condition' blocks.
-
@l-andorrà Hello,
No, this is not an indicator. I just draw these 2 red horizontal line manually..
And I don't know whether to apply a kind of block condition or use a kind of block on / off?Let say :
1st red line (above mid line) : The value Moving Average of Oscilator (OsMa) = 10
2nd red line (below mid line) : The value Moving Average of Oscilator (OsMa) = -10So then :
1 I don't want to trade if the value OsMa is between 10 and -10
2 But I want to trade at all values except within these range value 10 and -10Any suggestion @l-andorrà ?
-
@zedeai2 What @l-andorrà is saying is OsMa is a custom indicator? if so how to read these values will determine how EA is created
-
@jstap Hello,
Osma is not custom indicator, but it's already available on mt4 indicator
OsMa = Moving Average of Oscillator
-
@zedeai2 In this case it's simple, condition block, left operand OsMa, = right operand value 10, connect this to your buy/sell block with a no trade block above.
-
@jstap Hello,
Thank you for your respond. Could you please to show me a sample block structure it?
Because I don't understand it yetThank you
-
@zedeai2 This will show how to do the basic.

-
@jstap Thank You! I'll try it
