miyako.pro

Broker Spread Overlay

Dilihat 1483
87
This script is a simple overlay for showing the spread of Market Maker brokers. Such as 1broker.com or trading212.com These brokers set the price higher than the actual price in the form of a spread. Often making it harder to trade due to the difference.

This overlay offers two views.
- A price line showing the difference.
- Candlesticks , either as an overlay or unmerged to their own window.

If you like this indicator and/or it has helped you to earn money, please donate.
Paypal: ma.spencer@gmx.com
Bitcoin: 1foxypuyuoNp5n1LNCCCCmjZ4RAXntQ8X
Skrip open-source

Sejalan dengan semangat TradingView, penulis skrip ini telah mempublikasikannya secara open-source, sehingga para trader dapat memahami dan memverifikasinya. Salut untuk sang penulis! Anda dapat menggunakannya secara gratis, tetapi penggunaan kembali kode ini dalam publikasi diatur oleh Tata Tertib. Anda dapat memfavoritkannya untuk dapat menggunakannya didalam sebuah chart.

Inggin menggunakan skrip ini pada chart?
study("Broker Spread Overlay", overlay=true)

oneSpread = input(defval=0.0002, type="float", title="Spread")

oneOpen = security(tickerid, period, open) + oneSpread
oneHigh = security(tickerid, period, high) + oneSpread
oneLow = security(tickerid, period, low) + oneSpread
oneClose = security(tickerid, period, close) + oneSpread

linecolor = open < close ? green : red

barToggle = input(type=bool, defval=false, title="Show Candles")
lineToggle = input(type=bool, defval=true, title="Show Price Line")
plotcandle(barToggle ? oneOpen:na, barToggle ? oneHigh:na, barToggle ? oneLow:na, barToggle ? oneClose:na , title='Candles', color = linecolor, wickcolor=black)
plot(lineToggle ? oneClose:na, title="Price Line", linewidth=2, color=linecolor, style=areabr, transp=100, trackprice=true, editable=false)

Komentar

smart tool! thanks for sharing!
Jawab
miyako.pro cooney_s
Np ^-^ Glad it's helpful. I will be releasing a version 2 soon that will include toggles for different types of charts such as heikinashi, renko, area, kagi and line break.
Jawab
cooney_s miyako.pro
cool! I look forward to it.
Jawab