I found this indicator on the web:
http://www.hightick.com/TS/In ... index.html
It looks quite interesting so I did download and compiled it with no errors.
But when I add this indicator I get a "floating point invalid operation" error message.
Do you have any idea on this? Thanks.
Ribbons Plotter
-
- Posts: 82
- Joined: 20 Jun 2009
- Been thanked: 1 time
- TJ
- Posts: 7743
- Joined: 29 Aug 2006
- Location: Global Citizen
- Has thanked: 1033 times
- Been thanked: 2223 times
-
- Posts: 82
- Joined: 20 Jun 2009
- Been thanked: 1 time
- TJ
- Posts: 7743
- Joined: 29 Aug 2006
- Location: Global Citizen
- Has thanked: 1033 times
- Been thanked: 2223 times
[edit]
I plotted ES with no problem,
but with SPX, I get an error on "Floating-point invalid operation".
It must have to do with SPX not having volume.
I plotted ES with no problem,
but with SPX, I get an error on "Floating-point invalid operation".
It must have to do with SPX not having volume.
- Attachments
-
- Ribbons Plotter.png
- (116.46 KiB) Downloaded 1472 times
-
- Posts: 82
- Joined: 20 Jun 2009
- Been thanked: 1 time
Re: Ribbons Plotter
Hi all
I test the same indicator than smashthepound.
does anybody have an idea to explain why I can't to compile this indicator?
in the attachement, I have to remove several "underscore character" ? specially before :
_BarsDisplayed
_DisplayRangeAll
Thanks to your help
I test the same indicator than smashthepound.
does anybody have an idea to explain why I can't to compile this indicator?
in the attachement, I have to remove several "underscore character" ? specially before :
_BarsDisplayed
_DisplayRangeAll
Thanks to your help
- Attachments
-
- 2014-10-13_21h21_07.png
- (65.95 KiB) Downloaded 1321 times
Re: Ribbons Plotter
"_BarsDisplayed" is grayed out and "_DisplayRangeAll" isn't the issue, because it got already compiled.
This is a TS-code. So first compile "_BarsDisplayed" first :
Further it makes no sense to declare a variable named "BarsDisplayed" equals to the value of the function "_BarsDisplayed" which is already feeding the function "_BarsDisplayed". Weird.
This is a TS-code. So first compile "_BarsDisplayed" first :
Code: Select all
vars:
float LeftDateTime(0),
bool StartCount(false),
int BarsDisplayed(0);
once begin
LeftDateTime = GetAppInfo(aiLeftDispDateTime);
end;
{ stop comparing current bars date and time to LeftDateTime once left margin bar is reached }
once (ELDateToDateTime(Date) + ELTimeToDateTime(Time) >= LeftDateTime) begin
StartCount = true;
end;
if StartCount then BarsDisplayed = BarsDisplayed + 1;
_BarsDisplayed = BarsDisplayed;