Working CoronaCharts software

Questions about MultiCharts and user contributed studies.
Wally_AD
Posts: 47
Joined: 28 Jan 2014
Has thanked: 8 times
Been thanked: 7 times

Working CoronaCharts software

Postby Wally_AD » 23 Jul 2015

According to the URL the Ehlers functions for Corona charts are provided by TJ.

viewtopic.php?f=5&t=3339&p=23450&hilit=corona#p23450

The link does not work any longer, but the ELS file can be found somewhere else.

The variable I has to be changed, but besides that for two indicators a "division by zero" error occurs and the drawings do not look correct.

Has anybody a working Multicharts version of the CoronaCharts?

Thank you.

Wally_AD
Posts: 47
Joined: 28 Jan 2014
Has thanked: 8 times
Been thanked: 7 times

Re: Working CoronaCharts software

Postby Wally_AD » 26 Jul 2015

I have got the scrips to run, but without Corona.

There is a clear bug in the code.

Code: Select all

If SNR > 0.5 then
Width = 0;

For N = 1 to 50 Begin
Raster[N] = 20;
If N < Round(50*SNR,0) Then Raster[N] = .5*(Power((20*SNR - .4*N)/ Width, .8) + OldRaster[N]);
Setting width to 0 and then dividing by width can't work.
But I have no idea which value should be set to width.

Code: Select all

// after adding this lines the scripts works
IF Width = 0.0 Then begin
Width = 0.1 ; // right value not known
This has to be done for 2 scripts: !Corona_Swing PSN and !Corona_SNR.


Return to “MultiCharts”