Forum

Relative Strength of True Range

Hi, I'm trying to copy an indicator from Trading View and part of the indicator has the follow line of code rr = ta.rma(ta.tr, 35 ) ta.tr = True range. It is max(high - low, abs(high - close[1]), abs(low - close[1])) ta.rma = Moving average used in RSI. It is the exponentially weighted moving

Endless requotes

New to this so bear with me. When I run this, the EA makes trades as you would expect //sell if (signal == "sell" && PositionsTotal ()< 1 ) trade.Sell( 0.10 , NULL ,Bid, 0 ,(Bid- 150 * _Point ), NULL ); //buy if (signal == "buy" && PositionsTotal ()< 1 )