Search found 22 matches
- 21 Oct 2020
- Forum: MultiCharts .NET
- Topic: FXBS2 indicator - Anyone have this indicator for MC.Net?
- Replies: 0
- Views: 820
FXBS2 indicator - Anyone have this indicator for MC.Net?
Anyone could share this indicator to us. Thank you.
- 30 Aug 2020
- Forum: MultiCharts .NET
- Topic: Is it possible to add a new broker in Broker Profiles?
- Replies: 1
- Views: 1199
Is it possible to add a new broker in Broker Profiles?
I would like to add a broker "Futu" to MC, how to do that?
- 05 Dec 2019
- Forum: MultiCharts .NET
- Topic: Variable issue - unexpected outcome during the calculation [SOLVED]
- Replies: 2
- Views: 1503
Re: Variable issue - unexpected outcome during the calculation [SOLVED]
MarketPosition had not been real established under IOGMode, so that the program not work
- 04 Dec 2019
- Forum: MultiCharts .NET
- Topic: Doing Different Things in "CalcBar()" Affects what is Treated as 1st Bar
- Replies: 6
- Views: 2621
Re: Doing Different Things in "CalcBar()" Affects what is Treated as 1st Bar
If a moving average is, for example, "34" in length, it would calculate the moving average of bar "1", and the rest is calculated as "0" ( or the same as value of the 1st bar ). The solution would be to add virtual bars (values), as "0", from actual 1st bar to where the calculation starts, as bars ...
- 04 Dec 2019
- Forum: MultiCharts .NET
- Topic: Variable issue - unexpected outcome during the calculation [SOLVED]
- Replies: 2
- Views: 1503
Variable issue - unexpected outcome during the calculation [SOLVED]
I suspected I am using the wrong method to define the variable in the program, so that the calculation is in error. Here is the output as below: Current Time:1/2/2001 9:57:00, Bars.High:15911, TempL:15890 , Testing TempL Current Time:2/2/2001 11:02:00 , Bars.High:16140, TempL:16105 , After Shortsell...
- 12 Jul 2019
- Forum: MultiCharts .NET
- Topic: Is that have any limitation under 2-D array? [SOLVED]
- Replies: 8
- Views: 2944
Re: Is that have any limitation under 2-D array? [SOLVED]
~Zola~, when you declare an array in C# the number within brackets is the number of elements. The first element however is at index 0. That's why int[,] array2Da = new int[4, 2 ] creates a two dimensional array with four rows and two columns, but int[,] Score = new int[24001, 1 ] is not really two ...
- 12 Jul 2019
- Forum: MultiCharts .NET
- Topic: Is that have any limitation under 2-D array? [SOLVED]
- Replies: 8
- Views: 2944
Re: Is that have any limitation under 2-D array? [SOLVED]
the link "int[,] array2Da = new int[4, 2]"~Zola~,Thanks for your reply.
I declared "private int[,] Score = new int[24001,1];", anything I still missing?
check out the link I posted.
Regards,
ABC
my code "int[,] Score = new int[24001,1]"
It seems that no difference.
- 12 Jul 2019
- Forum: MultiCharts .NET
- Topic: Is that have any limitation under 2-D array? [SOLVED]
- Replies: 8
- Views: 2944
Re: Is that have any limitation under 2-D array? [SOLVED]
~Zola~, your code doesn't declare a 2-D array and consequently you receive an error when you try to access a second dimension of a one dimensional array. Take a look at the link below for examples on how to create multi dimensional arrays in C#: https://docs.microsoft.com/en-us/dotnet/csharp/progra...
- 11 Jul 2019
- Forum: MultiCharts .NET
- Topic: Is that have any limitation under 2-D array? [SOLVED]
- Replies: 8
- Views: 2944
Re: Is that have any limitation under 2-D array? [SOLVED]
I have downscale the 2D array to double[3400, 1], but the issue still happen. I only resolve the error when I change it to single array. How could I resolve this problem?
- 11 Jul 2019
- Forum: MultiCharts .NET
- Topic: Is that have any limitation under 2-D array? [SOLVED]
- Replies: 8
- Views: 2944
Is that have any limitation under 2-D array? [SOLVED]
using System; using System.Drawing; using System.Linq; using PowerLanguage.Function; namespace PowerLanguage.Indicator{ public class Z_testing_array2 : IndicatorObject { private int[,] Score = new int[24001,1]; public Z_testing_array2(object _ctx):base(_ctx){} protected override void Create() { // ...
- 04 Jun 2019
- Forum: MultiCharts
- Topic: Why the currentbar reset again when I used the reserve word "date"? The issue only happen for once, is it a bug? [SOLVED]
- Replies: 5
- Views: 1488
Re: Why the currentbar reset again when I used the reserve word "date"? The issue only happen for once, is it a bug? [SOLVED]
I can use the volume[1] or high[1], etc to resolve this issue. Thank you for your reply again.MaxBarsBack caused the recalc.
- 04 Jun 2019
- Forum: MultiCharts
- Topic: Why the currentbar reset again when I used the reserve word "date"? The issue only happen for once, is it a bug? [SOLVED]
- Replies: 5
- Views: 1488
Re: Why the currentbar reset again when I used the reserve word "date"? The issue only happen for once, is it a bug? [SOLVED]
Thanks TJ. I have checked this part and set the parameter "1" to [Max number of bars] User Specified. The currentbar does not recalc, but counted second bar as "currentbar = 1" instead of first bar from the 1 min chart.MaxBarsBack caused the recalc.
- 03 Jun 2019
- Forum: MultiCharts
- Topic: Why the currentbar reset again when I used the reserve word "date"? The issue only happen for once, is it a bug? [SOLVED]
- Replies: 5
- Views: 1488
Re: Why the currentbar reset again when I used the reserve word "date"? The issue only happen for once, is it a bug? [SOLVED]
I have investigated the issue again and confirmed the issue was caused by "date[1]".
- 02 Jun 2019
- Forum: MultiCharts
- Topic: Why the currentbar reset again when I used the reserve word "date"? The issue only happen for once, is it a bug? [SOLVED]
- Replies: 5
- Views: 1488
Re: Why the currentbar reset again when I used the reserve word "date"? The issue only happen for once, is it a bug? [SOLVED]
Inputs: pBars(2), VolumeRatio(1.26785563); variables: tvAverage(0), vAverage(0), vBar(0), MeaningfulVolume(91), mDay(1); for value1 = 1 to 3 begin if currentbar = value1 then begin value2 = Ticks + value2; print("Ticks: ", Ticks, ", Total volume: ", value2, ", Time: ", Time, ", currentbar: ", curre...
- 31 May 2019
- Forum: MultiCharts
- Topic: Why the currentbar reset again when I used the reserve word "date"? The issue only happen for once, is it a bug? [SOLVED]
- Replies: 5
- Views: 1488
Why the currentbar reset again when I used the reserve word "date"? The issue only happen for once, is it a bug? [SOLVED]
variables: tvAverage(0), vAverage(0), vBar(0), MeaningfulVolume(91), mDay(1); for value1 = 1 to 3 begin if currentbar = value1 then begin value2 = Ticks + value2; print("Ticks: ", Ticks, ", Total volume: ", value2, ", Time: ", Time); end; end; if currentbar > 20 then begin if month(date) <> month(d...
- 22 May 2019
- Forum: MultiCharts
- Topic: Using the reserved word “TL_New” [SOLVED]
- Replies: 14
- Views: 3341
Re: Using the reserved word “TL_New” [SOLVED]
Many thanks for your reply, I got it.You'll find it if you scroll all the way to the Left side of your chart. (earliest date).
It's very small but the text size can be made larger very easily.
See the Trendline test image.jpgattached chart.
- 22 May 2019
- Forum: MultiCharts
- Topic: Using the reserved word “TL_New” [SOLVED]
- Replies: 14
- Views: 3341
Re: Using the reserved word “TL_New” [SOLVED]
~Zola~, the code is designed to create the drawings only once when the study gets executed i.e. it will apply them on the first bar after your max bars back settings. Having said that you should be able to find the drawings close to the start of your chart. Regards, ABC Many thanks for your reply, ...
- 21 May 2019
- Forum: MultiCharts
- Topic: Using the reserved word “TL_New” [SOLVED]
- Replies: 14
- Views: 3341
Re: Using the reserved word “TL_New” [SOLVED]
Thank you for your reply. Still not work.Scaling should be "Same as Instrument".
- 21 May 2019
- Forum: MultiCharts
- Topic: Using the reserved word “TL_New” [SOLVED]
- Replies: 14
- Views: 3341
Re: Using the reserved word “TL_New” [SOLVED]
Thank you for your reply. I clicked the "Insert study" and added an indicator call "Trend V0". Attached please find the setting screen for your reference.Hi ~Zola~,
can you post a screenshot of the chart with the study applied, as this might help us in understanding the cause.
Regards,
ABC
- 21 May 2019
- Forum: MultiCharts
- Topic: Using the reserved word “TL_New” [SOLVED]
- Replies: 14
- Views: 3341
Re: Using the reserved word “TL_New” [SOLVED]
I have tried the "Bar Chart" and "Hollow Candlestick Chart" with 1 minute or 1 day resolution.What is your chart resolution?
ie the chart type and interval?
- 20 May 2019
- Forum: MultiCharts
- Topic: Using the reserved word “TL_New” [SOLVED]
- Replies: 14
- Views: 3341
- 20 May 2019
- Forum: MultiCharts
- Topic: Using the reserved word “TL_New” [SOLVED]
- Replies: 14
- Views: 3341
Using the reserved word “TL_New” [SOLVED]
Variables: TLID(-1), TxtID(-1); once begin TLID = TL_New(Date[10], Time[10], Close, Date, Time, Close); TL_SetColor(TLID, red); TL_SetSize(TLID, 2); TL_SetStyle(TLID, 2); TxtID = Text_New(Date, Time, Close, "Hello World!"); end; ----------------------------------------------------------------------...