GSB Forums

Not logged in [Login - Register]

Futures and forex trading contains substantial risk and is not for every investor. An investor could
potentially lose all or more than the initial investment. Risk capital is money that can be lost without
jeopardizing ones’ financial security or life style. Only risk capital should be used for trading and only
those with sufficient risk capital should consider trading. Past performance is not necessarily indicative of
future results
Go To Bottom

Printable Version  
Author: Subject: Multicharts Version
BigDog
Junior Member
**




Posts: 20
Registered: 25-4-2018
Member Is Offline

Mood: No Mood

[*] posted on 27-4-2018 at 04:06 AM
Multicharts Version


Peter, do you have MC versions of all of the systems/functions. Or are we expected to copy and paste them into MC from TS, function by function?

Thanks.


View user's profile View All Posts By User
Petzy
Junior Member
**




Posts: 73
Registered: 24-10-2017
Location: Sweden
Member Is Offline

Mood: No Mood

[*] posted on 27-4-2018 at 09:11 AM


I think it is the same import file for both TS and MC

C:\GSB\GSB (Managers)\TradeStation Code\GSB_SCRIPTS_2018_01_01+WithupdatedGsbsys1ES+mcfixSUperSmoother.ELD

It is not obvious since it is in the "tradestation" folder but I think it is the right one


View user's profile View All Posts By User
admin
Super Administrator
*********




Posts: 5069
Registered: 7-4-2017
Member Is Offline

Mood: No Mood

[*] posted on 27-4-2018 at 04:02 PM


I should update the folder to be ts & mc code to make this more clear.
ps. Best put these sorts of things in this section.
http://trademaid.info/forum/viewthread.php?tid=4


View user's profile View All Posts By User
BigDog
Junior Member
**




Posts: 20
Registered: 25-4-2018
Member Is Offline

Mood: No Mood

[*] posted on 28-4-2018 at 12:59 AM


Quote: Originally posted by Petzy  
I think it is the same import file for both TS and MC

C:\GSB\GSB (Managers)\TradeStation Code\GSB_SCRIPTS_2018_01_01+WithupdatedGsbsys1ES+mcfixSUperSmoother.ELD

It is not obvious since it is in the "tradestation" folder but I think it is the right one


Nope. Multicharts uses .pla extension rather than .eld and it can't read the latter. Also, there are some differences in the functionality.

Of particular note: MC PowerLanguage is closely related to TS Easylanguage Ver 9.1. The introduction of the OOEL in TS Ver 9.5 marked a clear parting of the ways. Some of the GSB system code posted on the forum using OOEL and is incompatible with MC.


View user's profile View All Posts By User
admin
Super Administrator
*********




Posts: 5069
Registered: 7-4-2017
Member Is Offline

Mood: No Mood

[*] posted on 28-4-2018 at 01:06 AM


Nothing in the forum should be using OOEL apart from portfolio analysts export code.
mc editor can import eld. File import ... eld
GSB has separate output for TS & MC


mc.png - 48kBmc2.png - 48kB


View user's profile View All Posts By User
BigDog
Junior Member
**




Posts: 20
Registered: 25-4-2018
Member Is Offline

Mood: No Mood

[*] posted on 28-4-2018 at 01:37 PM


Quote: Originally posted by admin  

GSB has separate output for TS & MC


That's what I missed...


View user's profile View All Posts By User
BigDog
Junior Member
**




Posts: 20
Registered: 25-4-2018
Member Is Offline

Mood: No Mood

[*] posted on 29-4-2018 at 01:54 AM


Peter,

Could you post MC versions of the demo strategies, as well as TS? I am finding that some of them (e.g. the @S system) just dont translate.

Thanks.


View user's profile View All Posts By User
admin
Super Administrator
*********




Posts: 5069
Registered: 7-4-2017
Member Is Offline

Mood: No Mood

[*] posted on 29-4-2018 at 03:21 PM


Quote: Originally posted by BigDog  
Peter,

Could you post MC versions of the demo strategies, as well as TS? I am finding that some of them (e.g. the @S system) just dont translate.

Thanks.

The symbol on MC will vary depending on your data provider.
This is beyond my control. The systems should work on MC.
So work spaces for MC can not be made that will for for all users. The information you need to make the work spaces is available.
Basically MC has its advantages, but is much harder for all as it doesnt have inbuilt data feed like TS.
My personal opinion is all users should use TS unless you need some specific features of MC. This is a very individual choice people will have strong opinions on.
MC is slower to execute(I tested this extensively) but supports 3rd part data feed. Its WF features are really bad but can be over come by EWFO
http://trademaid.info/tools-ewfo.htm


View user's profile View All Posts By User
BigDog
Junior Member
**




Posts: 20
Registered: 25-4-2018
Member Is Offline

Mood: No Mood

[*] posted on 30-4-2018 at 12:31 AM


In the @S demo system, the code fails to compile in MC with an error on this line:

timeHms = StrToNum(BarDateTime.Format("%H%M%S"));


I tried changing it to:

timeHms=Time_s;

The code compiles but the system produces no trades.

I figured this was due to differences in the type/format of the variables so next I tried replacing this line:

If (TimeHms >= SessionEnd And TimeHms <= SessionEndPlus59Sec) Then // John62 2018/03/10

With:

If Time> sessionendtime(0,1) Then

This compiled ok, but again no trades.

So I currently don't have a working MC version of the strategy.

The reason for using MC is that I want to execute trades at IB, rather than at TradeStation.


View user's profile View All Posts By User
admin
Super Administrator
*********




Posts: 5069
Registered: 7-4-2017
Member Is Offline

Mood: No Mood

[*] posted on 30-4-2018 at 12:35 AM


Quote: Originally posted by BigDog  
In the @S demo system, the code fails to compile in MC with an error on this line:

timeHms = StrToNum(BarDateTime.Format("%H%M%S"));


I tried changing it to:

timeHms=Time_s;

The code compiles but the system produces no trades.

I figured this was due to differences in the type/format of the variables so next I tried replacing this line:

If (TimeHms >= SessionEnd And TimeHms <= SessionEndPlus59Sec) Then // John62 2018/03/10

With:

If Time> sessionendtime(0,1) Then

This compiled ok, but again no trades.

So I currently don't have a working MC version of the strategy.

The reason for using MC is that I want to execute trades at IB, rather than at TradeStation.


should be
If Time< sessionendtime(0,1) Then


View user's profile View All Posts By User
BigDog
Junior Member
**




Posts: 20
Registered: 25-4-2018
Member Is Offline

Mood: No Mood

[*] posted on 30-4-2018 at 03:52 AM


I dont think so, because that line of code refers to EOD conditions:

If Time > sessionendtime(0,1) Then
Begin
BuyToCover this bar on close;
Sell this bar on close;
End;

In any event, I still get no trades in the MC version. Is it possible for you to generate and post the full MC code?


View user's profile View All Posts By User
admin
Super Administrator
*********




Posts: 5069
Registered: 7-4-2017
Member Is Offline

Mood: No Mood

[*] posted on 30-4-2018 at 03:59 PM


Quote: Originally posted by BigDog  
I dont think so, because that line of code refers to EOD conditions:

If Time > sessionendtime(0,1) Then
Begin
BuyToCover this bar on close;
Sell this bar on close;
End;

In any event, I still get no trades in the MC version. Is it possible for you to generate and post the full MC code?

I don't have the GSB raw code to make the system again.
This should be very simple to fix. Email me your team viewer details.
From version 44.59, the ts&mc files are in a folder that references ts&mc in the name. All future systems I publish will have the mc code in it (perhaps in comments) to fix this.



mc-ts.png - 82kB


View user's profile View All Posts By User
BigDog
Junior Member
**




Posts: 20
Registered: 25-4-2018
Member Is Offline

Mood: No Mood

[*] posted on 1-5-2018 at 08:50 AM


Where do I find the latest version (44.59)? The latest version I can find in the forum is 44.36 (the version I am running). In that version there is no reference to MC in the folder.

View user's profile View All Posts By User
admin
Super Administrator
*********




Posts: 5069
Registered: 7-4-2017
Member Is Offline

Mood: No Mood

[*] posted on 1-5-2018 at 03:58 PM


Quote: Originally posted by BigDog  
Where do I find the latest version (44.59)? The latest version I can find in the forum is 44.36 (the version I am running). In that version there is no reference to MC in the folder.

This is in the beta builds section for GSB purchasers only.
As you can see by the build dates, versions of GSB get made frequently. These are keep for purchases only, in case there are bugs, and the purchasers have better GSB knowledge - this is better for testing. I will get you the next version that's due in <48 hours.

beta.png - 289kB


View user's profile View All Posts By User
admin
Super Administrator
*********




Posts: 5069
Registered: 7-4-2017
Member Is Offline

Mood: No Mood

[*] posted on 3-5-2018 at 07:02 PM


The next build is late in coming. If you are in a hurry I will supply you with 44.59
Best case new build is today, worst case a few more days


View user's profile View All Posts By User

  Go To Top

Trademaid forum. Software tools for TradeStation, MultiCharts & NinjaTrader
[Queries: 47] [PHP: 26.5% - SQL: 73.5%]