HI,
I was trying to open the Inside Bar indicator in express but it appears to be encrypted. Is there any chance I could have the code for this indicator?
Best,
Inside Bar Express indicator
- WHS Support
- Posts: 2430
- Joined: 14 Feb 2013 10:27
Re: Inside Bar Express indicator
Hello Tibovwh,
as there is a copyright on this code we can unfortunately not provide the unencrypted version of this indicator.
Kind regards,
Timo
WH SELFINVEST
as there is a copyright on this code we can unfortunately not provide the unencrypted version of this indicator.
Kind regards,
Timo
WH SELFINVEST
Re: Inside Bar Express indicator
Thanks for your answer!
I've put together this rather simple code. It seems to work, but the only thing that's bugging me is that the current candle shows an IB before the completion of the candle. Any idea how I could fix this? It feels like this should be easy to do but can't find it.
Best,
I've put together this rather simple code. It seems to work, but the only thing that's bugging me is that the current candle shows an IB before the completion of the candle. Any idea how I could fix this? It feels like this should be easy to do but can't find it.
Code: Select all
Express InsideBar
Vars
Input
$Show_InsideBar(0, 1, 1);
Calculation
if IsFirstBar() then
CalculateAtEveryTick(false);
if (high[0] < high[1]) and (low[0] > low[1]) then
begin
if isBarCompleted() then
begin
if $Show_InsideBar = 1 then HighlightRGBat(0, "slot", 255,255, 255);
end
end
Interpretation
begin
end
Best,
- WHS Support
- Posts: 2430
- Joined: 14 Feb 2013 10:27
Re: Inside Bar Express indicator
Hi Tibovwh,
for me the code looks fine. The highlight only occurs after the candle is completed (because you have put "IsBarCompleted()" function).
Kind regards,
Timo
WH SELFINVEST
for me the code looks fine. The highlight only occurs after the candle is completed (because you have put "IsBarCompleted()" function).
Code: Select all
Express InsideBar
Vars
Input
$Show_InsideBar(0, 1, 1);
Calculation
if IsFirstBar() then
CalculateAtEveryTick(false);
if (high[0] < high[1]) and (low[0] > low[1]) and IsBarCompleted() then
begin
if $Show_InsideBar = 1 then HighlightRGBat(0, "slot", 255,255, 255);
end
Interpretation
begin
end
Timo
WH SELFINVEST
Re: Inside Bar Express indicator
Indeed, it seems to work fine for intraday charts!
Thanks for the help,
Best,
Thanks for the help,
Best,
Re: Inside Bar Express indicator
Hi,
I have been trying to replicate the way the InsideBar indicator draws the High and Low of the Mother Bar of the Inside Bar. So far, I haven't really found a way to do it. See below:
I've come up with the following code:
Couple of problems:
it starts drawing one candle late.
It doesn't fix the high and low to the high and low of the mother bar but rather changes to previous bar high/low.
I would like the high/low lines to show until the price has closed outside this range.
would anyone be kind enough to help me out with this?
I have been trying to replicate the way the InsideBar indicator draws the High and Low of the Mother Bar of the Inside Bar. So far, I haven't really found a way to do it. See below:
I've come up with the following code:
Code: Select all
Express TMS_MC
Vars
numeric x, y, mc, hi, lo;
series r, upper, lower;
Calculation
CalculateAtEveryTick(false);
x = h;
y = l;
r = (x-y);
if (h[1] > h) and (l[1] < l) then
mc = 1;
if (c > upper[1]) or (c < lower[1]) then
mc = 0;
if mc = 1 then
begin
hi = high[1];
lo = low[1];
end
else
begin
hi = void;
lo = void;
end
upper = hi;
lower = lo;
Interpretation
begin
end
plot(upper, blue, 1);
plot(lower, blue, 1);
it starts drawing one candle late.
It doesn't fix the high and low to the high and low of the mother bar but rather changes to previous bar high/low.
I would like the high/low lines to show until the price has closed outside this range.
would anyone be kind enough to help me out with this?
You do not have the required permissions to view the files attached to this post.