Topics
26 Mar 2020, 19:46
 1273
 5
Replies

mrha1000
02 Apr 2020, 17:13

RE:

PanagiotisCharalampous said:

Hi mrha1000,

You need to change that line of code to the following

System.Windows.Forms.Application.Run(form);

since there is a conflict with the cBot's Application property.

Best Regards,

Panagiotis 

Join us on Telegram

Thankful
Corrected with this code


@mrha1000

mrha1000
31 Mar 2020, 18:17 ( Updated at: 21 Dec 2023, 09:21 )

RE:

PanagiotisCharalampous said:

Hi mrha1000,

You need to provide more information. What error do your get?

Best Regards,

Panagiotis 

Join us on Telegram

 

 


@mrha1000

mrha1000
31 Mar 2020, 00:06

RE:

PanagiotisCharalampous said:

Hi lw3010996,

if you remove this piece of code

             thread.Join();
             while (thread.IsAlive)
               System.Windows.Forms.Application.DoEvents();

It should work fine.

Best Regards,

Panagiotis

I'm also trying to learn
I made a new bot and copied the code into it
Then I hit Edith With Visual Studio(2017)
Then I right-clicked it in Visual Studio and then Add -----> Windows Form
And I added a Windows Form to it
But I get an error when I hit Boild
Even delete what you said

please guide me


@mrha1000

mrha1000
27 Mar 2020, 16:17

RE:

PanagiotisCharalampous said:

Hi mrha1000,

There is no command to refresh the chart. You have to write a method that recalculates all the values of the indicator.

Best Regards,

Panagiotis 

Join us on Telegram

Yes Yes

I realized now

Thankyou


@mrha1000

mrha1000
27 Mar 2020, 10:54

RE:

PanagiotisCharalampous said:

Hi mrha1000,

You can use the Timer.TimerTick() to execute code at specific intervals.

Best Regards,

Panagiotis 

Join us on Telegram

 

Thankful
What command should I use to refresh the chart?


@mrha1000

mrha1000
25 Mar 2020, 08:01 ( Updated at: 21 Dec 2023, 09:21 )

RE:

ClickAlgo said:

I forgot to mention, you do not need to write the GUI (presentation) code, just create your form with the controls and open the Form.Designer.cs file and copy and paste into your Indicator, you can can then create nice and clean complex forms in a very short time.

TexBox and Bottun have a problem

It's a pity


@mrha1000