Ultra - ATR scalping tool - indicator for MetaTrader 4




Ultra - ATR scalping tool - indicator for MetaTrader 4


Experimental indicator I wrote for myself. Its made to show some reference (its more like a rifle scope, than a rifle). Main components are pip scale, ATR/pivot, MA level, RSI, and spread alert. Can be used on any timeframe, but since its made for scalping it is somewhat adjusted for M1-M15.


Pips Scale

Settings: Scale Zero Level Shift.

This is simple scale. Middle (zero level) is placed at the middle of the body of chosen candle. This can be adjusted so that you can differentiate reversal from pullbacks.

Rule of thumb is: Trend is up when price is above Zero Level, trend is down when price is below.


ATR/Pivots

‌Settings: Mode(Standard,Fibonacci), Period (No of M5 Bars), Lines - Style, Color, Width.

Theres some math behind this one. Weighted average of chosen number of M5 bars (for open/close/high/low price)

 for(int i=1;i<N_Bars;i++)
     {
      mod=(double)(N_Bars-i);
      mod*=(double)(iVolume(NULL,inpTimeFrame,PivotBar+i));
      xOpen+=mod*iOpen(NULL,inpTimeFrame,PivotBar+i);
      xClose+=mod*iClose(NULL,inpTimeFrame,PivotBar+i);
      xHigh+=mod*iHigh(NULL,inpTimeFrame,PivotBar+i);
      xLow+=mod*iLow(NULL,inpTimeFrame,PivotBar+i);
      div+=mod;
     }

Range is adjusted with ATR from this range,

   double xATR=iHigh(NULL,ATRTimeFrame,iHighest(NULL,ATRTimeFrame,MODE_HIGH,5*N_Bars,0))
               -iLow(NULL,ATRTimeFrame,iLowest(NULL,ATRTimeFrame,MODE_LOW,5*N_Bars,0));
   double xRange=(xHigh-xLow)+xATR;

and all these are used to calculate pivot levels.

Because of that these levels will be dynamic, depending on ATR value, so chosen Period makes big difference here. The lower number the more dynamic levels (they will expand and contract). For intraday trading/scalping Period 12 - 288 is reasonable (1-24 hours).

Rule of thumb just like other pivot tools.


MA Level

Settings: Period, Method, Applied price, Timeframe, Line Color/Style/Width.

This is additional line that shows latest price of Moving Average from a chosen time-frame. If the level is "outside" the chart the line is drawn at the top/bottom of the chart (longer and thicker). I use EMA(16) of typical price on H1, that shows the trend pretty well.

Rule of thumb: trend is up then price is above the MA level, trend is down when price is below.


RSI indicator

Settings: Period

This one may seem confusing at first. (its more like looking at RSI from the side, like a plan view). Line shows current RSI, color fill shows plan view of last n bars (min/max value) (n is the same as RSI period).

Rule of thumb: RSI > 50 trend is up, RSI < 50 trend is down. Also when trending sideways the color fill is tight around 50.

Spread Alert

Settings: Ratio, Color.

Set the ratio of spread and ATR to trigger alert. When its triggered it changes color of Bid/Ask line, and some scale lines to draw your attention. Enable debug mode to show some internal numbers, also spread, ATR and %ratio to help you adjust this level.

Spread alert


Download Ultra - ATR scalping tool - indicator for MetaTrader 4




Related News




Latest News
U.S. women's veterans praise new era of Andonovski
08.03.2020 06:07
By Amy Tennery (Reuters) - Little more than four months on the job, U.S. women's soccer head coach Vlatko Andonovski is earning high praise from team veterans, as the squad looks to build off the momentum of its fourth World Cup win and shake off the demons of an early exit at Rio 2016. Andonovski, who took over in late October from longtime
Read more
Boca pip River to Argentine title with late Tevez screamer
08.03.2020 05:07
BUENOS AIRES (Reuters) - A dramatic late goal from Carlos Tevez gave Boca Juniors the Argentine league title on Saturday, as the Buenos Aires club overcame Gimnasia 1-0 to pip their arch rivals River Plate on an breathtaking last day of the season. River led the Superliga from Boca by a point going into their final round of games and could have
Read more
Boca pip River to Argentine title with late Tevez screamer
08.03.2020 05:04
BUENOS AIRES (Reuters) - A dramatic late goal from Carlos Tevez gave Boca Juniors the Argentine league title on Saturday, as the Buenos Aires club overcame Gimnasia 1-0 to pip their arch rivals River Plate on an breathtaking last day of the season. River led the Superliga from Boca by a point going into their final round of games and could have
Read more
Japan's 7-Eleven worker infected with coronavirus, another case likely caused meningitis
08.03.2020 04:06
TOKYO (Reuters) - A worker at Japan's 7-Eleven convenience store chain in Yamanashi prefecture, west of Tokyo, has contracted the new coronavirus, the company said on Sunday. 7-Eleven, a unit of Japanese retail group Seven & i Holdings said it temporarily closed the store for cleaning and disinfection after the case was confirmed on Saturday
Read more
U.S., Japan women's soccer teams keep focus on games as coronavirus fears swirl
08.03.2020 04:03
By Amy Tennery Harrison, NEW JERSEY (Reuters) - The U.S. and Japan women's national soccer teams said on Saturday they were laser-focused on preparing for the upcoming Olympics, even as a global coronavirus outbreak threatens the postponement or cancellation of the Tokyo Games. The two teams are expected to compete in the second of three
Read more