Topics
11 Dec 2024, 09:55
 112
 2
04 Nov 2024, 17:12
 271
 5
22 Oct 2024, 06:29
 0
 138
 0
20 Oct 2024, 04:36
 174
 1
11 Oct 2024, 06:30
 0
 150
 0
11 Oct 2024, 06:30
 0
 150
 0
10 Oct 2024, 12:37
 154
 2
13 Sep 2024, 07:14
 1
 179
 0
21 Aug 2024, 16:28
 0
 169
 0
12 Aug 2024, 08:14
 0
 225
 1
06 Aug 2024, 06:38
 257
 1
22 Jul 2024, 08:13
 0
 271
 0
22 Jul 2024, 08:13
 0
 209
 0
08 Jul 2024, 08:24
 0
 338
 1
Replies

eynt
02 Jun 2020, 10:31

RE:

Thank you

 

1. How can I choose between with or without the source code?

2. This means that if I made changes on code in the origin computer after I ran the algo file on the destination computer I need to build my cBot?


@eynt

eynt
01 Jun 2020, 17:50

RE:

Hi

 

1. It will only add an algo file without the source code, correct?

2. Do I need to build my cBot on the destination computer after double clicking the algo file?

 


@eynt

eynt
31 May 2020, 10:04

RE:

Thank you

 

Is there a way to change a chart's symbol by code of an indicator?


@eynt

eynt
28 May 2020, 16:14

RE:

Hi

 

What about prints for an indicator?


@eynt

eynt
28 May 2020, 15:36 ( Updated at: 21 Dec 2023, 09:22 )

RE:

Thanks

 

I don't have a log tab at all when I switch to automate

 


@eynt

eynt
26 May 2020, 16:52

RE:

Does the Algo file contains inside all the references used by it?

 

Thanks

 


@eynt

eynt
26 May 2020, 09:31

RE:

What if I want to move 50 files from computer A to computer B. Is there an easier way to do that instead of double click 50 times?

 

Thanks

 

 


@eynt

eynt
26 May 2020, 09:21

RE:

Thanks

 

Is there a way to export all my Robots/Indicators together in one time instead of double click them one by one?

 


@eynt

eynt
26 May 2020, 08:45

RE:

Than you

 

In order to close the position I need to use ClosePosition which takes a parameter of type Position which does not has a constructor and therefor even if I have all the data from the files I can't create a new position instance in order to close the open position.


@eynt

eynt
25 May 2020, 12:45

RE:

Thank you.

 

When I call LoadMoreHistory it causes my indicator to reload itself and therefor call the LoadMoreHistory which again reloads then indicator which again calls LoadMoreHistory etc.

How can I stop this loop?


@eynt

eynt
22 May 2020, 12:14

RE:

Thank you

 

Unfortuanatlly I did not completly understood the way the SyncObjectsInstance works and therefor do not know how to add the ScrollXBy/ScrollXTo. Perhaps you show me the modifications I need to add to the SyncObjectsInstance itself so it not only sync objects but scrolling as well. I'm pretty sure it's a small change and I could take if from there.

 


@eynt

eynt
22 May 2020, 11:03

RE:

Thank you.

Once I discovered such an object how can I remove it from the chart?


@eynt

eynt
22 May 2020, 09:55

RE:

How can one charts interact with another?

 

Thanks


@eynt

eynt
21 May 2020, 21:24

RE:

What I meant is that my custom indicator creates objects on the charts such as lines, texts, etc. When I remove the indicator the objects remain. I want them automatically removed as well.

 

Thanks


@eynt

eynt
20 May 2020, 10:57

RE:

Hello

 

I don't know how to apply the change from drawing objects to scrolling a bar. Can you please provide with a code sample?


@eynt

eynt
19 May 2020, 21:37

RE:

PanagiotisCharalampous said:

1. You can do this using a cBot.

 

Is there a way to declare a parameter of a DateTime type?

Thanks


@eynt

eynt
19 May 2020, 12:37

RE:

i disconnected myself from the internet in order to stop receiving live data. On the Calculate method I printed the IsLastBar value. All the bars return false except 1 which means the last bar is calculated once as historical data.


@eynt

eynt
14 May 2020, 09:13

RE: RE:

Hello

 

Is there anything new about the subject? I can't stress how important this issue is to me.

 

Thanks


@eynt

eynt
12 May 2020, 10:21

RE:

Thank you

 

That did not added more information. The information I'm interested in is the line number where the error happened and the line numbers of the called funstions.

For example, the function Calculate called the function Main at line X and Main called NewRevesedPick at line Y and so on until I can see that the error was raised at the function GetHLByIndex at line Z.

At the moment I get this:

 

12/05/2020 07:12:52.244 | Stack Trade:    at cAlgo.General.GetHLByIndex(MarketPosition position, Int32 index)    at cAlgo.TrendHL.PlotSet()    at cAlgo.TrendHL.NewRevesedPick(Double reversedPrice, MarketPosition Position, Int32 index)    at cAlgo.TrendHL.Main(Int32 index)    at cAlgo.TrendHL.Calculate(Int32 index)

12/05/2020 07:12:52.228 | Messsage: Postion cannot be flat. GetHL

12/05/2020 07:12:52.228 | Inner Exception: null

12/05/2020 07:12:52.228 | Catched error: cAlgo.General+NoFlatException: Postion cannot be flat. GetHL    at cAlgo.General.GetHLByIndex(MarketPosition position, Int32 index)    at cAlgo.TrendHL.PlotSet()    at cAlgo.TrendHL.NewRevesedPick(Double reversedPrice, MarketPosition Position, Int32 index)    at cAlgo.TrendHL.Main(Int32 index)    at cAlgo.TrendHL.Calculate(Int32 index)
 

 

Here is an example of an error I got on a WinForm Application which shows what i mean:

 

 

System.IO.IOException: The process cannot access the file 'C:\Users\yuval\Documents\cAlgo\Sources\Indicators\TrendHL\.vs\TrendHL\v16\Server\sqlite3\db.lock' because it is being used by another process.
   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   at System.IO.File.InternalCopy(String sourceFileName, String destFileName, Boolean overwrite)
   at System.IO.FileInfo.CopyTo(String destFileName, Boolean overwrite)
   at ManagerRobot.Form1.DirectoryCopy(String sourceDirName, String destDirName, Boolean overwrite, Boolean excludeAt, Boolean excludeByDate) in D:\BTSync\BT Sync Robot\BTSync Robot HERE\RobotFiles\Projects\ManagerRobot\ManagerRobot\Form1.cs:line 683
   at ManagerRobot.Form1.DirectoryCopy(String sourceDirName, String destDirName, Boolean overwrite) in D:\BTSync\BT Sync Robot\BTSync Robot HERE\RobotFiles\Projects\ManagerRobot\ManagerRobot\Form1.cs:line 634
   at ManagerRobot.Form1.DirectoryCopy(String sourceDirName, String destDirName, Boolean overwrite, Boolean excludeAt, Boolean excludeByDate) in D:\BTSync\BT Sync Robot\BTSync Robot HERE\RobotFiles\Projects\ManagerRobot\ManagerRobot\Form1.cs:line 697
   at ManagerRobot.Form1.DirectoryCopy(String sourceDirName, String destDirName, Boolean overwrite) in D:\BTSync\BT Sync Robot\BTSync Robot HERE\RobotFiles\Projects\ManagerRobot\ManagerRobot\Form1.cs:line 634
   at ManagerRobot.Form1.DirectoryCopy(String sourceDirName, String destDirName, Boolean overwrite, Boolean excludeAt, Boolean excludeByDate) in D:\BTSync\BT Sync Robot\BTSync Robot HERE\RobotFiles\Projects\ManagerRobot\ManagerRobot\Form1.cs:line 697
   at ManagerRobot.Form1.DirectoryCopy(String sourceDirName, String destDirName, Boolean overwrite) in D:\BTSync\BT Sync Robot\BTSync Robot HERE\RobotFiles\Projects\ManagerRobot\ManagerRobot\Form1.cs:line 634
   at ManagerRobot.Form1.DirectoryCopy(String sourceDirName, String destDirName, Boolean overwrite, Boolean excludeAt, Boolean excludeByDate) in D:\BTSync\BT Sync Robot\BTSync Robot HERE\RobotFiles\Projects\ManagerRobot\ManagerRobot\Form1.cs:line 697
   at ManagerRobot.Form1.DirectoryCopy(String sourceDirName, String destDirName, Boolean overwrite) in D:\BTSync\BT Sync Robot\BTSync Robot HERE\RobotFiles\Projects\ManagerRobot\ManagerRobot\Form1.cs:line 634
   at ManagerRobot.Form1.DirectoryCopy(String sourceDirName, String destDirName, Boolean overwrite, Boolean excludeAt, Boolean excludeByDate) in D:\BTSync\BT Sync Robot\BTSync Robot HERE\RobotFiles\Projects\ManagerRobot\ManagerRobot\Form1.cs:line 697
   at ManagerRobot.Form1.DirectoryCopy(String sourceDirName, String destDirName, Boolean overwrite) in D:\BTSync\BT Sync Robot\BTSync Robot HERE\RobotFiles\Projects\ManagerRobot\ManagerRobot\Form1.cs:line 634
   at ManagerRobot.Form1.DirectoryCopy(String sourceDirName, String destDirName, Boolean overwrite, Boolean excludeAt, Boolean excludeByDate) in D:\BTSync\BT Sync Robot\BTSync Robot HERE\RobotFiles\Projects\ManagerRobot\ManagerRobot\Form1.cs:line 697
   at ManagerRobot.Form1.DirectoryCopy(String sourceDirName, String destDirName, Boolean overwrite) in D:\BTSync\BT Sync Robot\BTSync Robot HERE\RobotFiles\Projects\ManagerRobot\ManagerRobot\Form1.cs:line 634
   at ManagerRobot.Form1.DirectoryCopy(String sourceDirName, String destDirName, Boolean overwrite, Boolean excludeAt, Boolean excludeByDate) in D:\BTSync\BT Sync Robot\BTSync Robot HERE\RobotFiles\Projects\ManagerRobot\ManagerRobot\Form1.cs:line 697
   at ManagerRobot.Form1.BackupDirectory(String timeStamp, String sourcePath, Boolean excludeByDate) in D:\BTSync\BT Sync Robot\BTSync Robot HERE\RobotFiles\Projects\ManagerRobot\ManagerRobot\Form1.cs:line 726
   at ManagerRobot.Form1.BackupCode(Boolean excludeByDate) in D:\BTSync\BT Sync Robot\BTSync Robot HERE\RobotFiles\Projects\ManagerRobot\ManagerRobot\Form1.cs:line 797
   at ManagerRobot.Form1.btnCustomToBackup_Click(Object sender, EventArgs e) in D:\BTSync\BT Sync Robot\BTSync Robot HERE\RobotFiles\Projects\ManagerRobot\ManagerRobot\Form1.cs:line 788
   at System.Windows.Forms.Control.OnClick(EventArgs e)
   at System.Windows.Forms.Button.OnClick(EventArgs e)
   at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ButtonBase.WndProc(Message& m)
   at System.Windows.Forms.Button.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

 


@eynt

eynt
12 May 2020, 10:02

RE:

PanagiotisCharalampous said:

Hi Yuval,

No there is no such option. Why do you need this?

Best Regards,

Panagiotis 

Join us on Telegram

 

To view and analyze past data without the price and charts been changed or added.

 


@eynt