Topics
Replies
Shares4UsDevelopment
19 Nov 2018, 15:06
RE:
Hi Panagiotis.
Thnks for your reply. In the meanwhile I found the Error.
The MyZone.Color = string.Concat(Opacity, BaseColor);
statement gave a string lconsiting only of numbers and that gave an error. It was notinterpreted as Hex i guess.
changing the statement to fromargb(.....) solved the issue..
But i'd still like the 2nd Question (extend a rectangle into infinity) to get an answer.
Best rgds,
Ton
@Shares4UsDevelopment
Shares4UsDevelopment
12 Nov 2018, 09:57
Spaces in ObjectNames
Hi thriscio
Change
var line = Chart.DrawHorizontalLine("my line", Symbol.Ask, Color.Red);
to
var line = Chart.DrawHorizontalLine("my_line", Symbol.Ask, Color.Red);
Dont use spaces in ObjectNames
@Shares4UsDevelopment
Shares4UsDevelopment
06 Nov 2018, 23:24
RE:
alexander.n.fedorov said:
Dear Panagiotis, hi!
Basically, I was trying to write a method which whould return for the Dictionary<double, int> .Could not
the othe question is if som cBot could stop all the rest
Regards,
Sasha
The following will'return' 2 values from 1 method by using the explicit passing by reference:
private void doSomething() { Double Jo = 0; int Ho = 0; Dicty(ref Jo, ref Ho); Print("Jo={0}, Ho={1}", Jo, Ho); } private void Dicty(ref double val1, ref int val2) { val1 = 1.1; val2 = 2; }
@Shares4UsDevelopment
Shares4UsDevelopment
06 Nov 2018, 23:24
RE:
alexander.n.fedorov said:
Dear Panagiotis, hi!
Basically, I was trying to write a method which whould return for the Dictionary<double, int> .Could not
the othe question is if som cBot could stop all the rest
Regards,
Sasha
The following will'return' 2 values from 1 method by using the explicit passing by reference:
private void doSomething() { Double Jo = 0; int Ho = 0; Dicty(ref Jo, ref Ho); Print("Jo={0}, Ho={1}", Jo, Ho); } private void Dicty(ref double val1, ref int val2) { val1 = 1.1; val2 = 2; }
@Shares4UsDevelopment
Shares4UsDevelopment
17 Dec 2018, 10:52
Hi.
Please provide the relevant c# code there is no way of checking based upon your description.
@Shares4UsDevelopment