Search found 20 matches

by BD.
03 May 2024
Forum: MultiCharts .NET
Topic: Changed: How to change input settings after initialization?
Replies: 2
Views: 109

Re: Changed: How to change input settings after initialization?

if you want to store values and then retrieve them later after program was closed, from my understanding, the only way is to actually save them. you can save them by saving values to .txt and then retrieving from the same file. File.WriteAllText(Path.Combine(@"C:\Users\make\sure\path exist to\folder...
by BD.
14 Apr 2024
Forum: MultiCharts .NET
Topic: default template editing
Replies: 2
Views: 122

Re: default template editing

Thanks, but how can I do that? I tried to find StudyServer as described here https://www.multicharts.com/discussion/viewtopic.php?f=19&t=47958 in "C:\Program Files\TS Support\MultiCharts .NET64" but there is no such folder, was it moved? No Techniques folder either. I found only "Techniques.pln" whi...
by BD.
12 Apr 2024
Forum: MultiCharts .NET
Topic: default template editing
Replies: 2
Views: 122

default template editing

Can I edit the default code that editor editor is generating when creating a new strategy or indicator?
by BD.
10 Apr 2024
Forum: User Contributed Studies
Topic: C# colors switch
Replies: 0
Views: 83

C# colors switch

Collection of all C# colors bundled in a switch statement in a function. Call it at StartCalc to set color of your variable (indicator) private Color BoxColor(string colorInput) { Color boxColor; switch (colorInput.ToLower()) // Convert to lower case for comparison { case "aliceblue": boxColor = Col...
by BD.
06 Apr 2024
Forum: MultiCharts .NET
Topic: Help needed with managing drawing objects
Replies: 4
Views: 184

Re: Help needed with managing drawing objects

Hi HellGhost - not quite what I wanted to do, but it got me a little closer. Thank you for the inspiration. I still have an error that I cannot get past. :?: Noting that you made a list of ChartPoints, I made my list of IRectangleObjects, and that allowed me to access the Properties of the rectangl...
by BD.
06 Apr 2024
Forum: MultiCharts .NET
Topic: .SendFromEntry() [SOLVED]
Replies: 6
Views: 338

Re: .SendFromEntry() [SOLVED]

Hi @Polly, Would be lovely if you pinged answers to the following: - OrderExit is a class having info on the exit type. Among other things, it has following members: 1) EExitType 2) FromAll 3) FromEntry 4) FromEntryTotal 5) Total Yet, the above are not properly defined, or exemplified in terms of u...
by BD.
06 Apr 2024
Forum: MultiCharts .NET
Topic: .SendFromEntry() [SOLVED]
Replies: 6
Views: 338

Re: .SendFromEntry() [SOLVED]

Hi @Polly, Would be lovely if you pinged answers to the following: - OrderExit is a class having info on the exit type. Among other things, it has following members: 1) EExitType 2) FromAll 3) FromEntry 4) FromEntryTotal 5) Total Yet, the above are not properly defined, or exemplified in terms of u...
by BD.
30 Mar 2024
Forum: MultiCharts
Topic: MultiCharts 15 Release [SOLVED]
Replies: 35
Views: 2294

Re: MultiCharts 15 Release [SOLVED]

Just stumbled again on a long-time annoyance with PLEditor: Say, you have been working in a session with 15-20+ studies open and then closed PLEditor for the night. Your session is remembered and restored to the same state when you open PLEditor the next time. Great! However, importing studies from...
by BD.
02 Mar 2024
Forum: MultiCharts .NET
Topic: .SendFromEntry() [SOLVED]
Replies: 6
Views: 338

.SendFromEntry() [SOLVED]

Can't find any information about SendFromEntry. Is it the same as "exit from"? How can I use it? Thanks
by BD.
14 Feb 2024
Forum: MultiCharts
Topic: array_copy
Replies: 2
Views: 185

Re: array_copy

You're right. It does actually work when array_copy(arrOne,1,arrOne,5,4); source Index doesn't overlap destination Index.

Code: Select all

1.00 1.00 2.00 2.00 3.00 3.00 4.00 4.00 5.00 1.00 6.00 2.00 7.00 3.00 8.00 4.00 9.00 9.00
by BD.
14 Feb 2024
Forum: MultiCharts
Topic: "Once" reserved word
Replies: 2
Views: 206

Re: "Once" reserved word

this happened in SIM trading. I've sent an email with details.

Code: Select all

realBarNumber=BarNumber+MaxBarsBack;
by BD.
11 Feb 2024
Forum: MultiCharts
Topic: tick vs point bug ?
Replies: 3
Views: 312

Re: tick vs point bug ?

The definition is irrelevant.

try 1 'fixed price' and 1 'point', see what it shows you, and set it to the amount you like.
by BD.
10 Feb 2024
Forum: MultiCharts
Topic: "Once" reserved word
Replies: 2
Views: 206

"Once" reserved word

Why is this behavior happening? "once" setting condition to true then changes reversed back to false by itself, same with numeric variable. It looks like it only happens when "once" condition evaluates to true on the last bar no matter which way - by reserved word or function or bar number. vars: co...
by BD.
09 Feb 2024
Forum: MultiCharts
Topic: MultiCharts 15 Beta
Replies: 21
Views: 1453

Re: MultiCharts 15 Beta

On MC startup sound "Connected" is played even if you aren't actually connected. In comparison, MC 14 plays "Connecting". +1 to this: Is there any plan to integrate TS as a both a broker as well as data source? That would be awesome given the poor stability and 32bit architecture limitations within ...
by BD.
09 Feb 2024
Forum: MultiCharts
Topic: VS Code extension
Replies: 2
Views: 228

Re: VS Code extension

See the link below if you want to vote for it.

https://www.multicharts.com/pm/public/m ... es/MC-2893
by BD.
08 Feb 2024
Forum: MultiCharts
Topic: array_copy
Replies: 2
Views: 185

array_copy

How does array_copy work? I'm trying to shift elements of an array using "array_copy" description clearly states that it should copy "beginning at the index of N"(see below) instead it copies the element of index N for a specified amount. Issues start to appear when I enter " NumberOfElements " para...
by BD.
07 Feb 2024
Forum: MultiCharts
Topic: Adjust positions manually/match trades from broker
Replies: 3
Views: 232

Re: Adjust positions manually/match trades from broker

Is there a way to enter a missing order manually? One order messing up whole data for the length of a contract
by BD.
07 Feb 2024
Forum: MultiCharts
Topic: VS Code extension
Replies: 2
Views: 228

VS Code extension

Can you add an extension for PL for VS Code that will recognize reserved words and compile a code from VS? I see people complaining about visual appearance and while I know it's not your priority, MC users spend a lot of time in PL Editor and it would be really nice to get a nice environment to work...
by BD.
02 Feb 2024
Forum: MultiCharts
Topic: Adding money management to my script
Replies: 2
Views: 242

Re: Adding money management to my script

if you know how to code basic stuff then all you need to do is open "Dictionary" in your PL editor, it's on the right side of a window (if you have nothing there then go to View -> Navigator Bar) you'll see you can switch between "Studies" and "Dictionary". in the dictionary you'll need "Accounts an...
by BD.
02 Feb 2024
Forum: MultiCharts
Topic: Adjust positions manually/match trades from broker
Replies: 3
Views: 232

Adjust positions manually/match trades from broker

Hi, I had a following situation recently: Placed market order (manually trade), placed limit order. connection to broker lost limit order executed reconnected to broker MC doesn't see limit order executed -> positions mismatch -> Performance summary messed up Can I somehow make MC build a report fro...

Go to advanced search