BigDog
Junior Member

Posts: 20
Registered: 25-4-2018
Member Is Offline
Mood: No Mood
|
|
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.
|
|
|
Petzy
Junior Member

Posts: 73
Registered: 24-10-2017
Location: Sweden
Member Is Offline
Mood: No Mood
|
|
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
|
|
|
admin
Super Administrator
       
Posts: 5069
Registered: 7-4-2017
Member Is Offline
Mood: No Mood
|
|
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
|
|
|
BigDog
Junior Member

Posts: 20
Registered: 25-4-2018
Member Is Offline
Mood: No Mood
|
|
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.
|
|
|
admin
Super Administrator
       
Posts: 5069
Registered: 7-4-2017
Member Is Offline
Mood: No Mood
|
|
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

|
|
|
BigDog
Junior Member

Posts: 20
Registered: 25-4-2018
Member Is Offline
Mood: No Mood
|
|
That's what I missed...
|
|
|
BigDog
Junior Member

Posts: 20
Registered: 25-4-2018
Member Is Offline
Mood: No Mood
|
|
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.
|
|
|
admin
Super Administrator
       
Posts: 5069
Registered: 7-4-2017
Member Is Offline
Mood: No Mood
|
|
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
|
|
|
BigDog
Junior Member

Posts: 20
Registered: 25-4-2018
Member Is Offline
Mood: No Mood
|
|
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.
|
|
|
admin
Super Administrator
       
Posts: 5069
Registered: 7-4-2017
Member Is Offline
Mood: No Mood
|
|
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
|
|
|
BigDog
Junior Member

Posts: 20
Registered: 25-4-2018
Member Is Offline
Mood: No Mood
|
|
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?
|
|
|
admin
Super Administrator
       
Posts: 5069
Registered: 7-4-2017
Member Is Offline
Mood: No Mood
|
|
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.
|
|
|
BigDog
Junior Member

Posts: 20
Registered: 25-4-2018
Member Is Offline
Mood: No Mood
|
|
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.
|
|
|
admin
Super Administrator
       
Posts: 5069
Registered: 7-4-2017
Member Is Offline
Mood: No Mood
|
|
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.
|
|
|
admin
Super Administrator
       
Posts: 5069
Registered: 7-4-2017
Member Is Offline
Mood: No Mood
|
|
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
|
|
|