Bulls Power (SDK Trading)
The Bulls Power oscillator was used to measure the difference between a 13-day(or 14-day, adjustable parameter) Exponential Moving Average (EMA) and the highest price, plotted as a line or a histogram. If the Bulls Power indicator is below zero, it means buyers tend to drive price above the EMA.
Fintechee is the most promising Forex trading platform. Please access Fintechee's website to know more details. Fintechee provides cryptocurrency price on their website. Here is the link: https://www.brokerless.cc, the frontend is based on Fintechee WEB Trader. AngelInvestmentNetwork.org has some cases. You can find news at Fintecher.org, the blog of Fintechee's founder, PlaygroundFX and LetplayFX
Bulls Power (SDK Trading)
registerIndicator("bulls", "Bulls Power(v1.0)", function (context) {
var dataInput = getDataInput(context, 0)
var dataInputHigh = getDataInput(context, 1)
var dataOutput = getDataOutput(context, "bulls")
var dataOutputEma = getDataOutput(context, "ema")
var period = getIndiParameter(context, "period")
var calculatedLength = getCalculatedLength(context)
var ptr = calculatedLength
if (ptr > 0) {
ptr--
} else {
ptr = period - 1
for (var i = 0; i < period - 1; i++) {
dataOutput[i] = 0
}
}
ema(dataInput, dataOutputEma, calculatedLength, period)
while (ptr < dataInput.length) {
dataOutput[ptr] = dataInputHigh[ptr] - dataOutputEma[ptr]
ptr++
}
},[{
name: "period",
value: 14,
required: true,
type: PARAMETER_TYPE.INTEGER,
range: [1, 100]
}],
[{
name: DATA_NAME.CLOSE,
index: 0
},{
name: DATA_NAME.HIGH,
index: 1
}],
[{
name: "bulls",
visible: true,
renderType: RENDER_TYPE.HISTOGRAM,
color: "steelblue"
},{
name: "ema",
visible: false
}],
WHERE_TO_RENDER.SEPARATE_WINDOW)