CRYPTOCURRENCY

Ethereum: Trading view vs Binance DMI calculation?

It is a proposal of art in calculating the repeated movement of Ethereum using the Binance DMI API (Sumater Movement Movement):

Directional motion indicators for Ethereum *

As an investor to understand the railways and orter of the portfolio of cyptocureencia. One of the energy tools in this is the arrenal is the Essenal Movement of the accusation (DMI), while its Herps identifies the director of the person. In this art we will examine Hokutu DMI use DMI using LAPI.

Understanding 288 Vales

Ethereum: Trading view vs Binance DMI calculation?

TCRATE acquisition, a 5-minute business view for Ethereum on Binance, must be used 288 values: high, open, low and closed. It’s a short overview of each:

HIGH : High price level controls bar.

Open : The lowest price will be caused by a bar.

* Low: The lowest price level will be a bar.

Close

: The highest price level is controlled by the bar.

Calculation BSM (Balarancie Sigal order) **

Before diving in DMI, we start with the basic sliding diameter (BSM). 12 people can be used to calculate BSM. He is like:

  • Fitch high and low value for each rod using the Binance API.

  • Calculate BSM averaging high and low prices for the period (eg 12 bar).

  • Use BSM as a filtering to choose to choose on high, low minimums and hourly hours.

CULCULUS ARIOT *

We will also stroke the average Tenge (ATR) using Aligator Alpha Vantage indicators. This well Herp is the identity of Ethereum pricing processes.

  • Fatch of all 288 values ​​for each bar.

  • Calculate the average actual high -range low -range ranges.

  • Use ATR to filter out heights, low minions and closes with high trust (i.e. J. High Volatility).

Calculation BSI (Balance Siginal) **

Now we create a balance of balance (BSI) by calculating high to low prices.

  • Fatch of all 288 values ​​for each bar.

  • Calculate the ratio of high and low prices for the period (eg 12 bar).

  • Use a BSI and indicator for the signal potential of high -level foundations, lower minimums and high high high proportions.

Cole ri *

Finally, we calculate the relative force index (RSI) to sing high and low values.

  • Fatch of all 288 values ​​for each bar.

  • Calculate RSI using the average high prices ratio for a period (eg 14 days).

  • Use an RSI for another indicator to signal potential vegetables at high heights, low minimums and low -ratio clocks.

Soting all this together

Use Binance of API to get computing indicators for each column:

`` Ovasscript

Const Axos = Require (‘XOS’);

ASC Functional Calcatords () {

// Fatch all 288 values ​​for each bar

Const APUBLIC OF = AWAIT AXOS.GET ( = $ {ETSSMBOL F7M ‘);

IIF (aper sponzors.stuts! == 200) returned;

Consent data = valuation.

CONST HIGHARTLUES = DATA.HightPrris.Map (Value, Index) => ({}));

Consent OpenValees = Data.Ponpris.Map (Value, Index) => ({j));

Const lowvales = data.lowerprices.Map (value, index) => (value}));

Constillallus = data.closepris.map (Value, Index) => (Value}));

// CULCUOLATE BSM

CONST SMARLUES = Highvallues.Redulue (A, B) => A + B.Avalue, 0) / Smvales.length;

Console.log (BMVOLES);

// Calculate Aronon

Constivists = Cluesvales.map (Value, Index) => {

IIF (index % 10 == 9 && level

Else Ice (index % 10! == 0 &&& on> Highvallus [index – 1] .value return 50;

otherwise IF (index % % 10! == 9 &&& on

Leave a Reply

Your email address will not be published. Required fields are marked *