SH
Shares4UsDevelopment
1 follower(s) 1 following 111 subscription(s)
Topics
04 Apr 2024, 15:24
 2
 630
 4
19 Dec 2023, 10:33
 2
 572
 0
15 Dec 2023, 08:08
 1
 597
 0
14 Dec 2023, 08:45
 1
 642
 0
14 Dec 2023, 08:34
 1
 528
 0
08 Dec 2023, 15:52
 0
 570
 0
03 Mar 2023, 17:10
 3
 1433
 4
Replies

Shares4UsDevelopment
17 Dec 2018, 10:52

Hi.
Please provide the relevant c# code there is no way of checking based upon your description.


@Shares4UsDevelopment

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