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  
 Pages:  1  ..  15    17    19  ..  98
Author: Subject: General support questions.
admin
Super Administrator
*********




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

Mood: No Mood

[*] posted on 27-9-2018 at 08:34 PM


what about
////Contract's Session Close
If (TimeHms >= 220000 and time <222900) Then
Begin
BuyToCover this bar on close;
Sell this bar on close;
End;

......

// Entry-filter check
If (dateYmd > beginDate And dateYmd <= endDate)
And ((dateYmd >= 20000101 And dateYmd <= 20181231))
And (Not (TimeHms >= 220000 And TimeHms <= 222900)) Then
Begin
// Buy/Sell


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




Posts: 16
Registered: 3-7-2018
Member Is Offline

Mood: No Mood

[*] posted on 28-9-2018 at 04:37 AM


Unfortunately, that does not solve the issue. It will either create entries and exits on the same bar, or just exclude the trade which is not a good solution, all depending on what the time in the arguments above is hard coded to.

I think the only way to fix this is to change the core logic per what I suggested above so that the correct logic in GSB, is also reflected in the TS code that is automatically yielded. Again, the current GSB logic, which should also be reflected in the TS, should be (I believe):

If enter at < SET CLOSE TIME on DAY 0, then exit at SET CLOSE TIME on DAY 0
If enter at > SET CLOSE TIME on DAY 0, then exit at SET CLOSE TIME on DAY 1

Many thanks for your excellent support with this and other issues.


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




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

Mood: No Mood

[*] posted on 28-9-2018 at 01:23 PM


Sorry if this code is functionally identical, but I think it meets your two criteria.

// Entry-filter check. This cant enter on 22:00 bar, but cant enter next bar after this
If (dateYmd > beginDate And dateYmd <= endDate)
And ((dateYmd >= 20000101 And dateYmd <= 20181231))
And TimeHms < 220000 or TimeHms > 222900)) Then
Begin
// Buy/Sell


////Contract's Session Close. If enter at 2230 it will exit the next day
If (TimeHms >= 220000 and time <222900) Then
Begin
BuyToCover this bar on close;
Sell this bar on close;
End;


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




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

Mood: No Mood

[*] posted on 28-9-2018 at 02:25 PM


Quote: Originally posted by eastpeace  
Is it right?

The training part is negative in equity curve. But the stats below are positive.


There are several issues here.
You have 4 session periods. GSB conversion from 1 minute bars doesnt support this. You will need to use the bar interval you want, not the 1 minute bar. For example use 5 minute or 30 minute.

HC.30.minutes.SessionTime.FromMC
You moc time is wrong. It should be one time+ say 1 minute aproxx
ie 133000 133059
You should look at the video session times / market validation1
https://trademaid.info/video.htm


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




Posts: 29
Registered: 16-2-2018
Location: Tapanui - New Zealand
Member Is Offline

Mood: No Mood

[*] posted on 29-9-2018 at 04:23 PM


In a couple of Strategies that are available there is a aditional strategy attached called PortfolioAnalyst1.

According to the information on the file it requires TradeStationUtilsRc7b.dll

That is why I cannot get to to run.
Not sure what it does but it would be nice to find out.
Does anyone have the file:TradeStationUtilsRc7b.dll
If so can you post it please.


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




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

Mood: No Mood

[*] posted on 30-9-2018 at 12:24 PM


Quote: Originally posted by kelsotrader  
In a couple of Strategies that are available there is a aditional strategy attached called PortfolioAnalyst1.

According to the information on the file it requires TradeStationUtilsRc7b.dll

That is why I cannot get to to run.
Not sure what it does but it would be nice to find out.
Does anyone have the file:TradeStationUtilsRc7b.dll
If so can you post it please.

This line of code should be removed. There is a second option to fix this.
The newest installer in the non private forum has this fixed. However if you use the installer it might over write some of your settings etc. To be safe you can always bacckup your c:\GSB folder. I


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




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

Mood: No Mood

[*] posted on 9-10-2018 at 01:14 AM


I doubt any one realized, but the forum search function was Case Sensitive. It is now case stripped. Will make finding things much easier

View user's profile View All Posts By User
cyrus68
Member
***




Posts: 171
Registered: 5-6-2017
Member Is Offline

Mood: No Mood

[*] posted on 15-10-2018 at 02:53 AM


I'm experimenting with SPY (an ETF). There is really no way to limit the total number of trades, if a strategy produces too many. Limiting the maximum entries per day does not work when there is only 1 trade per day. A traditional way to limit trades is to raise costs. But GSB only does costs on a reports basis. So the remaining method is to set the performance filter to ignore such systems.

The other thing is that if the secondary filter is set to GA, then it is essential to select only 1 of the 3. Setting all 3 to "True" is a bad idea. GSB will struggle to generate systems. Well, it was worth a try.


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




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

Mood: No Mood

[*] posted on 15-10-2018 at 03:16 AM


Quote: Originally posted by cyrus68  
I'm experimenting with SPY (an ETF). There is really no way to limit the total number of trades, if a strategy produces too many. Limiting the maximum entries per day does not work when there is only 1 trade per day. A traditional way to limit trades is to raise costs. But GSB only does costs on a reports basis. So the remaining method is to set the performance filter to ignore such systems.

The other thing is that if the secondary filter is set to GA, then it is essential to select only 1 of the 3. Setting all 3 to "True" is a bad idea. GSB will struggle to generate systems. Well, it was worth a try.



If there is only 1 per day, I dont understand how that's too many.
you could try fitness np*at*pf or np*at^2 etc
Can you describe or send a screen shot of GA settings. Im not totally clear on what your saying. Do you mean enabled or force use?
You should be able to have one close, or all 3 close filters. Optional to add the total 37, but thats normally not going to work as well.


sf-ga.png - 43kB


View user's profile View All Posts By User
Bruce
Member
***




Posts: 115
Registered: 22-7-2018
Location: Auckland - New Zealand
Member Is Offline

Mood: No Mood

[*] posted on 15-10-2018 at 07:22 PM


Hi Peter,

How do you configure GSB to perform regular session trading 6pm - 5pm(next day) CDT? Within Trading Periods I set the times to 00:00:00 - 23:59:59, I think this is where I maybe going wrong, do I need to match the regular session times, 17:00:00 - 15:59:59?

Also, does percentage profit target and stop loss work? As I've tried a test with 1% and the trades were all exiting at almost the same price as the entry, certainly not 1%.


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




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

Mood: No Mood

[*] posted on 15-10-2018 at 07:29 PM


Quote: Originally posted by TradingRails  
Hi Peter,

How do you configure GSB to perform regular session trading 6pm - 5pm(next day) CDT? Within Trading Periods I set the times to 00:00:00 - 23:59:59, I think this is where I maybe going wrong, do I need to match the regular session times, 17:00:00 - 15:59:59?

Also, does percentage profit target and stop loss work? As I've tried a test with 1% and the trades were all exiting at almost the same price as the entry, certainly not 1%.

I have never done what you ask, so im guessing.
I think you are correct on all points.
As for stop loss. I assume you are in profits mode currency?
If so I think stop is still in $, but the reporting is in %. (this is my guess)
Sorry but I have never used these features. Try putting a much bigger value to try and sort out what GSB uses. I will ask programmer about this if your stuck.


View user's profile View All Posts By User
Bruce
Member
***




Posts: 115
Registered: 22-7-2018
Location: Auckland - New Zealand
Member Is Offline

Mood: No Mood

[*] posted on 15-10-2018 at 07:48 PM


Quote: Originally posted by admin  
Quote: Originally posted by TradingRails  
Hi Peter,

How do you configure GSB to perform regular session trading 6pm - 5pm(next day) CDT? Within Trading Periods I set the times to 00:00:00 - 23:59:59, I think this is where I maybe going wrong, do I need to match the regular session times, 17:00:00 - 15:59:59?

Also, does percentage profit target and stop loss work? As I've tried a test with 1% and the trades were all exiting at almost the same price as the entry, certainly not 1%.

I have never done what you ask, so im guessing.
I think you are correct on all points.
As for stop loss. I assume you are in profits mode currency?
If so I think stop is still in $, but the reporting is in %. (this is my guess)
Sorry but I have never used these features. Try putting a much bigger value to try and sort out what GSB uses. I will ask programmer about this if your stuck.



Trust me to be trying different elements!
I'm switching the profit modes to 'Percent' to have the Profit Target work with 1%. I would've assumed the stop loss would use the same metric (%) if that is what's been selected.
I'm noticing that if I change the Times field from your normal input (00:00:00 - 14:30:00) GSB struggles to capture any systems, I don't change any other field apart from having Market on Day Close and Built-in Market On Day Close both set to false.


View user's profile View All Posts By User
cyrus68
Member
***




Posts: 171
Registered: 5-6-2017
Member Is Offline

Mood: No Mood

[*] posted on 15-10-2018 at 10:52 PM


Quote: Originally posted by admin  
Quote: Originally posted by cyrus68  
I'm experimenting with SPY (an ETF). There is really no way to limit the total number of trades, if a strategy produces too many. Limiting the maximum entries per day does not work when there is only 1 trade per day. A traditional way to limit trades is to raise costs. But GSB only does costs on a reports basis. So the remaining method is to set the performance filter to ignore such systems.

The other thing is that if the secondary filter is set to GA, then it is essential to select only 1 of the 3. Setting all 3 to "True" is a bad idea. GSB will struggle to generate systems. Well, it was worth a try.



If there is only 1 per day, I dont understand how that's too many.
you could try fitness np*at*pf or np*at^2 etc
Can you describe or send a screen shot of GA settings. Im not totally clear on what your saying. Do you mean enabled or force use?
You should be able to have one close, or all 3 close filters. Optional to add the total 37, but thats normally not going to work as well.


If the system produces 1200 trades over a short period, that's too many. Setting fitness to np*at^2 may work, though there may be tradeoffs to consider. Having an option to limit the number of trades per year may not be a bad idea.

I meant enabling all 3 secondary filters. It will bog down GSB, and is not a practical option.


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




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

Mood: No Mood

[*] posted on 16-10-2018 at 12:24 AM


tradingrails, you should apply the method from this video to get your session times.
https://www.youtube.com/watch?v=NFC7ego_Y70
Cyrus, thanks for your comment. However enabling 3 sf will not bog gsb down. Only one can be used at one instant, but gsb will likely build systems on them all.
I sometimes use ga sf closed/closed(1),closed-closed(1),closedBPV-closed(1) all set to true.

see picture


sfx3.png - 43kB


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




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

Mood: No Mood

[*] posted on 16-10-2018 at 05:03 PM


Quote: Originally posted by TradingRails  
Hi Peter,

How do you configure GSB to perform regular session trading 6pm - 5pm(next day) CDT? Within Trading Periods I set the times to 00:00:00 - 23:59:59, I think this is where I maybe going wrong, do I need to match the regular session times, 17:00:00 - 15:59:59?

Also, does percentage profit target and stop loss work? As I've tried a test with 1% and the trades were all exiting at almost the same price as the entry, certainly not 1%.

capital investment mode,
We do not YET have 1% equity exit. Its $ only. It should be in the future build with additional exit types. The exits features have been delayed as we had a number of time consuming bugs to fix.


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




Posts: 54
Registered: 21-5-2018
Member Is Offline

Mood: No Mood

[*] posted on 18-10-2018 at 04:31 AM


Hi Peter,

I sent a bunch of systems to walk forward (best worker) and they all queued up and were running. Then windows did an update and restarted my computer and didn't reopen gsb automatically. So I opened gsb to start again and now systems keep popping into the workers and walk forwarding. Is there any way to cancel them all so I can start fresh without systems coming back into workers and walk forwarding?

Thanks.


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




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

Mood: No Mood

[*] posted on 18-10-2018 at 04:42 AM


Quote: Originally posted by boothy  
Hi Peter,

I sent a bunch of systems to walk forward (best worker) and they all queued up and were running. Then windows did an update and restarted my computer and didn't reopen gsb automatically. So I opened gsb to start again and now systems keep popping into the workers and walk forwarding. Is there any way to cancel them all so I can start fresh without systems coming back into workers and walk forwarding?

Thanks.

send me the instant id and workplace id. in top right of manager and I can cancel them, but im off line now till tomow. ie gEQ6TN13jDhOMgCoqgf If no workers are online, they do get terminated. might be 30 or 60 min time out value is my guess


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




Posts: 54
Registered: 21-5-2018
Member Is Offline

Mood: No Mood

[*] posted on 18-10-2018 at 05:21 AM


Quote: Originally posted by admin  
Quote: Originally posted by boothy  
Hi Peter,

I sent a bunch of systems to walk forward (best worker) and they all queued up and were running. Then windows did an update and restarted my computer and didn't reopen gsb automatically. So I opened gsb to start again and now systems keep popping into the workers and walk forwarding. Is there any way to cancel them all so I can start fresh without systems coming back into workers and walk forwarding?

Thanks.

send me the instant id and workplace id. in top right of manager and I can cancel them, but im off line now till tomow. ie gEQ6TN13jDhOMgCoqgf If no workers are online, they do get terminated. might be 30 or 60 min time out value is my guess



ok thanks, if they have an auto time out I might just shut down for the night and try again tomorrow.


View user's profile View All Posts By User
Carl
Member
***




Posts: 342
Registered: 10-5-2017
Member Is Offline

Mood: No Mood

[*] posted on 18-10-2018 at 07:22 AM


Hi boothy

You can set Windows (Pro) so it doesn't update and restart automatically.


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




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

Mood: No Mood

[*] posted on 18-10-2018 at 03:03 PM


Quote: Originally posted by Carl  
Hi boothy

You can set Windows (Pro) so it doesn't update and restart automatically.

Its painful. Im not going to by a microsoft self driving car. Drive to work and it reboots on me.
stopping windows update service is one option. The pause works for about 40 days from memory. Bring back the older win 7 update :)


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




Posts: 97
Registered: 23-5-2017
Member Is Offline

Mood: No Mood

[*] posted on 19-10-2018 at 09:17 PM
Disabling Windows Update


You can disable Windows Update in Windows 10 with this tool. I've been blocking it for over a year successfully.

https://www.intowindows.com/windows-update-minitool-alternat...


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




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

Mood: No Mood

[*] posted on 19-10-2018 at 09:22 PM


Quote: Originally posted by Gregorian  
You can disable Windows Update in Windows 10 with this tool. I've been blocking it for over a year successfully.

https://www.intowindows.com/windows-update-minitool-alternat...

Very useful, thanks for the tip.


View user's profile View All Posts By User
cyrus68
Member
***




Posts: 171
Registered: 5-6-2017
Member Is Offline

Mood: No Mood

[*] posted on 20-10-2018 at 01:51 AM


I also use this software to limit Microsoft spying and meddling.


https://www.oo-software.com/en/shutup10



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




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

Mood: No Mood

[*] posted on 21-10-2018 at 03:08 PM


Quote: Originally posted by cyrus68  
I also use this software to limit Microsoft spying and meddling.


https://www.oo-software.com/en/shutup10


This is very useful. I had to change hdd on two computers to ssd as boot times were incredibly slow. With the wisdom of hind site it was Microsoft telemetry data scanning all the windows files. Could find no way to kill telemetry either. Later thought of boot on another disk, and delete the file.


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




Posts: 54
Registered: 21-5-2018
Member Is Offline

Mood: No Mood

[*] posted on 22-10-2018 at 05:19 PM


Hi,

I need a bit of help to make sure I have everything set up properly for using closeDBpv, as I want to be able to verify on other markets.

when I build systems using ES.30 data1 and SPX.30 data2 using the original closeD I get OOS degradation in the mid 20% range, but whenever I use closeDBpv the degradation blows out to 50 - 60% range.


would I be correct in saying that if I have everything set up correctly and point values are normalised, shouldn't the OOS degradation be similar?


attached are screenshots of my contracts list and price data file that references the new $SPXBPV contract. Have I got this correct?


Thanks.



InkedBPV_LI.jpg - 1.2MBInkedBPVa_LI.jpg - 322kB


View user's profile View All Posts By User
 Pages:  1  ..  15    17    19  ..  98

  Go To Top

Trademaid forum. Software tools for TradeStation, MultiCharts & NinjaTrader
[Queries: 67] [PHP: 41.5% - SQL: 58.5%]