Search found 51 matches

by stefanols
23 Oct 2018
Forum: MultiCharts
Topic: compile error:"line 0, column 0" [SOLVED]
Replies: 36
Views: 15487

Re: compile error:"line 0, column 0" [SOLVED]

Is it on all indicators or just a specific one?
by stefanols
20 Oct 2018
Forum: MultiCharts
Topic: H=L in the last 10 bars [SOLVED]
Replies: 11
Views: 3925

Re: compile error:"line 0, column 0" [SOLVED]

Hi,

This happens especially when you are using
highD(1) that is using ( ) and not [ ].
An easy way to sort this out would be to have the compiler guide
you and instead of showing compile error it say wrong in row xx.

//Stefan
by stefanols
31 May 2017
Forum: MultiCharts
Topic: Floating error [SOLVED]
Replies: 7
Views: 2225

Re: Floating error [SOLVED]

Thanks!
by stefanols
31 May 2017
Forum: MultiCharts
Topic: Floating error [SOLVED]
Replies: 7
Views: 2225

Re: Floating error [SOLVED]

I should add 0.000001 then?
by stefanols
31 May 2017
Forum: MultiCharts
Topic: Floating error [SOLVED]
Replies: 7
Views: 2225

Re: Floating error [SOLVED]

you are right. How can i come around that then?
by stefanols
31 May 2017
Forum: MultiCharts
Topic: Floating error [SOLVED]
Replies: 7
Views: 2225

Re: Floating error [SOLVED]

Something like this:
value1=(C+2*StdDev(C,length)-average(C,length))*1.0000001;
Value2=(4*(StdDev(C,length)))*1.0000001;
Value3= ((value1)/(value2)*1.000001) *100;
by stefanols
31 May 2017
Forum: MultiCharts
Topic: Floating error [SOLVED]
Replies: 7
Views: 2225

Floating error [SOLVED]

Hi, Hope that someone can help. I have problem with floating error. I know that it is because you are deviding with zero. I have tried though to multiply with 1.0000001 but it does not help. Anyone that can suggest a better way to write the code below? Thanks in advance. Best regards Stefan Value1= ...
by stefanols
06 Feb 2017
Forum: MultiCharts
Topic: compile error:"line 0, column 0" [SOLVED]
Replies: 36
Views: 15487

Re: compile error:"line 0, column 0" [SOLVED]

Hi,

I can confirm that I also get this error once in a while.

So far it has been enough to restart the PC and then it works again.

When you restart you have to recompile.
Because there is no error in the code.

Would be good it if could be fixed.

Best regards

Stefan
by stefanols
17 Jan 2017
Forum: MultiCharts
Topic: Database Size Reducer .bat File Generates an Execution Error
Replies: 5
Views: 2016

Re: Database Size Reducer .bat File Generates an Execution Error

Are there a specific DB reducer for the 10 version? I also have problem with 9.1.
by stefanols
05 Dec 2016
Forum: MultiCharts
Topic: MULTICHARTS 10.0 RELEASE
Replies: 121
Views: 119112

Re: MULTICHARTS 10.0 RELEASE

Hi,

You need to choose trade data when you export as you have in your image. MC differs between
ask/bid/trade.

BR Stefan
by stefanols
08 Nov 2016
Forum: MultiCharts
Topic: MULTICHARTS 10.0 RELEASE CANDIDATE
Replies: 21
Views: 12792

Re: MULTICHARTS 10.0 RELEASE CANDIDATE

Hi,

The file name can stay as it is but pl. add
the name and description to the fields that
can be chosen.

Best regards

Stefan
by stefanols
08 Nov 2016
Forum: MultiCharts
Topic: MULTICHARTS 10.0 RELEASE CANDIDATE
Replies: 21
Views: 12792

Re: New release candidate

[quote="Henry MultiСharts"][quote="stefanols"]

Preferable the best solution would be to add the description and symbol to the fields that could be exported.

Hope not to much work to add these two fields.

Thanks in advance.

Best regards

Stefan
by stefanols
04 Nov 2016
Forum: MultiCharts
Topic: MULTICHARTS 10.0 RELEASE CANDIDATE
Replies: 21
Views: 12792

Re: New release candidate

Hi, Nice work with the release candidate. Have discussed the export to ASCI with you before and it would be great if you could add description and symbol into the fields that you can export together with Open High Low Close and total volume. As it is today the name is coming from the field name tha...
by stefanols
04 Nov 2016
Forum: MultiCharts
Topic: MULTICHARTS 10.0 RELEASE CANDIDATE
Replies: 21
Views: 12792

New release candidate

Hi, Nice work with the release candidate. Have discussed the export to ASCI with you before and it would be great if you could add description and symbol into the fields that you can export together with Open High Low Close and total volume. As it is today the name is coming from the field name that...
by stefanols
18 Oct 2016
Forum: MultiCharts
Topic: VWAP [SOLVED]
Replies: 38
Views: 13930

Re: VWAP [SOLVED]

Thanks for the tip.

But then there is a time gap in the last current day.

If feels that you would need a day and time stamp joint together to better control time.

Best regards

Stefan
by stefanols
18 Oct 2016
Forum: MultiCharts
Topic: VWAP [SOLVED]
Replies: 38
Views: 13930

Re: VWAP [SOLVED]

Hi, I have imported the file and it caluculates as it should from the date and time. However if I scroll backwards it sets VWAP to 0 and it makes the charts impossible to read. It it only my charts that behaves like that or yours as well if you scroll back 2-10 days? Thanks in advance. Check the sho...
by stefanols
18 Oct 2016
Forum: MultiCharts
Topic: VWAP [SOLVED]
Replies: 38
Views: 13930

Re: VWAP [SOLVED]

Hi,

It should be your code with some formatting though.

Would appreciate if you could export your code in pla so my base line.

I use ticks so it looks strange further back.

Thanks in advance.

Best regards

Stefan
by stefanols
18 Oct 2016
Forum: MultiCharts
Topic: VWAP [SOLVED]
Replies: 38
Views: 13930

Re: VWAP [SOLVED]

Thanks for your tips. I corrected some but still does not work.

I exported the pla files.

Thanks for looking at it.

Best regards

Stefan
by stefanols
18 Oct 2016
Forum: MultiCharts
Topic: VWAP [SOLVED]
Replies: 38
Views: 13930

Re: VWAP [SOLVED]

Hi,

As you see in the video that is exactly what I have done.

Perhaps Bensat can shed some light on it.

90000=09:00
140000=14:00

It is 12:30 now in Sweden.

Best regards

Stefan
by stefanols
18 Oct 2016
Forum: MultiCharts
Topic: VWAP [SOLVED]
Replies: 38
Views: 13930

Re: VWAP [SOLVED]

Hi,

Hope that this shows it better.

it is Bensats code I am using.

Thanks for your effort as well CrNa.

Best regards

Stefan
by stefanols
18 Oct 2016
Forum: MultiCharts
Topic: VWAP [SOLVED]
Replies: 38
Views: 13930

VWAP [SOLVED]

Thanks for your effort and explanations. Much appreciated. Seems that VWAP multiday can be a bit tricky. I am slowly getting there. Have one ussue though. I have enclosd a short film clip showing when I put time from e.g yesterday after current time today it does not include this data. I am using 11...
by stefanols
16 Oct 2016
Forum: MultiCharts
Topic: VWAP [SOLVED]
Replies: 38
Views: 13930

Re: VWAP [SOLVED]

Thanks Ben for your effort. I tried you updated code and it works when I set scaling to movement size but not same as instrument. With same as instrument it has the same behaviour that before the starting date where the indicator should not show anything it is compressing the chart and has a line of...
by stefanols
15 Oct 2016
Forum: MultiCharts
Topic: VWAP [SOLVED]
Replies: 38
Views: 13930

Re: VWAP [SOLVED]

Hi Ben, Thanks this is just what I meant. It almost works as planned. Have troubles to get it to work before the date e.g 1161013 and 0900. Before that time it compress the chart and it looks like it calculates backwards. It should start to calculate from the time and date and nothing backwards. I e...
by stefanols
15 Oct 2016
Forum: MultiCharts
Topic: VWAP [SOLVED]
Replies: 38
Views: 13930

Re: VWAP [SOLVED]

Hi, Would appreciate if someone could tell me how to set starttime to be the same as for the startdate. Now it does not work. E.g. if I could like to have a 2 day vwap starting the day before yesterday 1161013 and time 19:00 (the same day 20161113). Below is the code for the function. Thanks in adva...
by stefanols
04 Jul 2016
Forum: MultiCharts
Topic: Create a ticki indicator for OMXS (47 stocks stockholm) [SOLVED]
Replies: 5
Views: 2148

Re: Create a ticki indicator for OMXS (47 stocks stockholm) [SOLVED]

Hi, Thanks for your help. I made the change and now I get a result but something is wrong. It should vary between -47 and +47. Would be happy if someone could take a quick check. My guess is that it does not reset for each bar. Thanks in advance. Best regards Stefan Input: NumberInstruments(47); Var...
by stefanols
02 Jul 2016
Forum: MultiCharts
Topic: Create a ticki indicator for OMXS (47 stocks stockholm) [SOLVED]
Replies: 5
Views: 2148

Create a ticki indicator for OMXS (47 stocks stockholm) [SOLVED]

Hi, I am trying to do a ticki indicator but for Swedish stocks and futures. Hope that someone can see where I am doing wrong. Thanks in advance. BR Stefan Input: NumberInstruments(47); Vars: Datacounter(0); Vars: Newuptick (0); Vars: NewupTickAgg (0); Vars: NewdownTick (0); Vars: NewdownTickAgg (0);...
by stefanols
24 Jun 2016
Forum: MultiCharts
Topic: Indicator for multiple time frames
Replies: 2
Views: 2027

Re: Indicator for multiple time frames

Hi Josh, Yes you are right. Below you find a code example that hopefully gives you a better picture. How could a check look like to avoid triple or 5 fold prints due to higher time frame. I know that I can use crosses below etc to avoid this but I can not do that with some indicators.This correspons...
by stefanols
23 Jun 2016
Forum: MultiCharts
Topic: Indicator for multiple time frames
Replies: 2
Views: 2027

Indicator for multiple time frames

Hi, I am using 3 time frames and present all three with an indicator on the lowest time frame. As it is now the highest and intermediate time frame print many dots on the lowest time frame for a specific event. How can I program to only have one dot for each occasion it happens. Thanks in advance. B...
by stefanols
13 May 2016
Forum: MultiCharts
Topic: VWAP [SOLVED]
Replies: 38
Views: 13930

Re: VWAP [SOLVED]

Hi Ben,

Thanks for your help.

Works like a charm.

I first forgot to make sure the settings are same as instrument.

Always something.

Anyhow just as I wanted it.

Have a great week-end.

Best regards

Stefan
by stefanols
11 May 2016
Forum: MultiCharts
Topic: Export bulk ASCi
Replies: 3
Views: 2682

Re: Export bulk ASCi

Hi, Now exporting it is not possible to choose the name. This is often used when creating e.g. metastock files. But if the name and symbol was columns that could be used and choosed among the other fields like open close volume etc. everything would be ok. So therefore please add this if possible. S...
by stefanols
10 May 2016
Forum: MultiCharts
Topic: Export bulk ASCi
Replies: 3
Views: 2682

Export bulk ASCi

It would be brilliant if you could add the possibility to include
symbol and Name in the export options of information.

Now the names of the file is pretty odd. These names is used when using the files.

See enclosed image.

Best regards

Stefan
by stefanols
10 May 2016
Forum: MultiCharts
Topic: VWAP [SOLVED]
Replies: 38
Views: 13930

Re: VWAP [SOLVED]

Hi, Appreciate your help. Probably something simple on my side. I have increased to 250 days back. Some issue. Below you find the code. No modifications. input: Price(AvgPrice), LocalHrsOffset(0), date1(1160509), time1(0900), date2(1160510), time2(1730), date3(0), time3(0), date4(0), time4(0), date5...
by stefanols
10 May 2016
Forum: MultiCharts
Topic: VWAP [SOLVED]
Replies: 38
Views: 13930

Re: VWAP [SOLVED]

In the enclosed image the instrument is set as you suggest.

Must be something else.

Best regards

Stefan
by stefanols
10 May 2016
Forum: MultiCharts
Topic: VWAP [SOLVED]
Replies: 38
Views: 13930

Re: VWAP [SOLVED]

Here is how the chart looks like.

It should be like a 2 day avg of intraday vwap. Volume weighted of course.

Or what am I missing.

Have to tried to fill in correct days in the beginning and in the end.
by stefanols
10 May 2016
Forum: MultiCharts
Topic: VWAP [SOLVED]
Replies: 38
Views: 13930

VWAP [SOLVED]

Hi,

I am using a multiday VWAP but I not get the settings right.

I jwould like to create a 2 day VWAP. E.g. for yesterday and today.

Hope someone can help me.

Settings enclosed

Best regards

Stefan
by stefanols
30 Mar 2016
Forum: MultiCharts
Topic: Last X bars [SOLVED]
Replies: 5
Views: 1551

Re: Last X bars [SOLVED]

Ok I will try thanks.

Stefan
by stefanols
30 Mar 2016
Forum: MultiCharts
Topic: Last X bars [SOLVED]
Replies: 5
Views: 1551

Re: Last X bars [SOLVED]

Hi TJ, Thanks for your answer. These two I am aware of. But I can not see how they could do what I need. What I meant was a way to avoid my crude programming like below. When I e.g. have 2-5 parameters that can happen whithin the last 30-50 bars in a random order. If (value12[3] <= -1000 or value12[...
by stefanols
30 Mar 2016
Forum: MultiCharts
Topic: Last X bars [SOLVED]
Replies: 5
Views: 1551

Last X bars [SOLVED]

Hi, I wonder if it is possible to Instead of writing e.g. If value12[10] <= -1000 or value12[9] <= -1000 or value12[8] <= -1000 or value12[7] <= -1000 or value12[6] <= -1000 or value12[5] <= -1000 or value12[4] <= -1000 or value12<= -1000[3] or value12[2] <= -1000 or value12[1] <= -1000 or value12[0...
by stefanols
09 Mar 2016
Forum: MultiCharts
Topic: Better_Trin indicator
Replies: 6
Views: 1968

Re: Better_Trin indicator

ok thanks for your input and advice.

It shows ok if not use log function but
I probalbly need to make sure I do not devide with
0 or negative.

Best regards

Stefan
by stefanols
09 Mar 2016
Forum: MultiCharts
Topic: Better_Trin indicator
Replies: 6
Views: 1968

Re: Better_Trin indicator

Hi TJ,

Thanks for coming back to me.

Could you be so kind and guide me in the right direction
how to do this so I can study and correct.

As I saw it, it is simple deviding of numbers.

I thought it was the log function.

Thanks for your support.

Best regards

Stefan
by stefanols
08 Mar 2016
Forum: MultiCharts
Topic: Better_Trin indicator
Replies: 6
Views: 1968

Better_Trin indicator

Hi, Hope someone can help me. My programming skills are under development. I think I got most of if right but I would like to have the result logaritmic. The compilation goes ok but then in the indicator it says logaritm error. Thanks in advance Stefan //Interpreted from www.emini-watch.com, //http:...
by stefanols
03 Mar 2016
Forum: MultiCharts
Topic: Sound alerts with 2 options. [SOLVED]
Replies: 2
Views: 1151

Sound alerts with 2 options. [SOLVED]

Hi, I checked in alerts but could not find anything about it. Hope someone could help. I am trying to use the same indicator and to get 2 different sound alerts. E.g. RSI under 10 and RSI over 90. I have one indicator that does something similar but I can not get it to work. Thanks in advance. BR St...
by stefanols
01 Aug 2015
Forum: MultiCharts
Topic: Read only studies [SOLVED]
Replies: 1
Views: 1317

Read only studies [SOLVED]

Hi, Hope that this has not been posted before. I Just just want to make you aware that added read only studies disappeard during the last beta version install from beginning of July. Normally the beta versions are quite stable and ok. In case you can and have the possibility to adjust. Luckily it wa...
by stefanols
03 Jul 2015
Forum: MultiCharts
Topic: To execute a trade on same bar if possible [SOLVED]
Replies: 2
Views: 1458

Re: To execute a trade on same bar if possible [SOLVED]

Brilliant Josh,

I have been looking and looking and thought it was something in the code.

Works just as I wanted.

Thanks and best regards Stefan
by stefanols
03 Jul 2015
Forum: MultiCharts
Topic: To execute a trade on same bar if possible [SOLVED]
Replies: 2
Views: 1458

To execute a trade on same bar if possible [SOLVED]

Hi, I am trying to learn how to if possible execute all trades on the same bar instead of waiting for next one. See image. where last position should have hit target and execute on prior bar. Also in this case it stops out directly. Do not know why. Seem to be the wrong sequence trade. Many thanks i...
by stefanols
01 Jul 2015
Forum: MultiCharts
Topic: BMT Moneymaker
Replies: 1
Views: 1139

BMT Moneymaker

Hi, I am trying to adopt this strategy and have almost succeeded. https://www.bigmiketrading.com/multicharts/11278-video-tutorial-how-create-advanced-multicharts-easylanguage-strategy.html if (BarStatus(1) = 2) then begin This is to make the bar go complete when entering the buy/sell order condition...
by stefanols
02 Jun 2015
Forum: MultiCharts
Topic: Purpose of Stop Limit Offset
Replies: 5
Views: 3952

Stop Limit Offset Autotrading

Hi,

Are there a similar function in autotrading or do you
have to do that in the code?

If so do you have an example.

Thanks!

Best regards

Stefan
by stefanols
01 May 2015
Forum: MultiCharts
Topic: Limit number of trades per day (Algo) [SOLVED]
Replies: 2
Views: 2100

Limit number of trades per day (Algo) [SOLVED]

Hi, How can I limit to number of trades for signal in autotrading. For instance I just want it to take 10 trades. I found this code but can not make it work: vars: nbrtradestoday (0); if date <> date[1] then begin nbrtradestoday = 0; end; if MarketPosition <> 0 and MarketPosition[1] = 0 then nbrtrad...
by stefanols
14 Apr 2015
Forum: MultiCharts
Topic: floating point error [SOLVED]
Replies: 4
Views: 2048

Re: floating point error [SOLVED]

ok thanks for the input:

I changed to

input: Length(21);

Value1= Sum((2*close-high-low)/(high-(low * 0.999999999999999999999999999))*volume,Length)/Sum(volume,Length);

Plot1( Value1, "IntraDI" ) ;
Plot2(0);

Or are there a more elegant way to do it?
by stefanols
14 Apr 2015
Forum: MultiCharts
Topic: floating point error [SOLVED]
Replies: 4
Views: 2048

floating point error [SOLVED]

Hi,

Anyone that can help with below code?

Compile ok but get invalid floating point error.

Thanks in advance!



input: Length(21);

Value1= Sum((2*close-high-low)/(high-low)*volume,Length)/Sum(volume,Length);

Plot1( Value1, "IntraDI" ) ;
Plot2(0);

Go to advanced search