Dollar Cost Average Strategy w/Equities
7 replies
kasinath
6 years ago #266673
I tried doing this with no luck, so I’m hoping someone can help with this, or tell me if it is not possible in SQX… thanks in advance.
Summary:
Buy $1000 of TSLA every day and exit all positions after a profit level Y is reached.
Entry / Exit Logic:
- Entry: Every day, buy $1000 worth of $TSLA.
- Exit: If total profit on open positions is > $500, close all open trades.
Money Management
- Fixed amount : $1000
Issues I faced
- It does not honor my money management. It places an order size using the default “size if no MM”;
- Only one trade is opened, and it is never exited. It should be placing a new order every day (on bar open of D1)
- First order is placed in March instead of January (it seems to always place orders 2 months after the date i select)
I have attached the strategy file I created (that didnt work), and screenshots showing my issues.
Note: The strategy file was attached twice for some reason, and there is no way to remove the duplicate.
0
Tomas Matejka
6 years ago #266694
Hi,
you can simply calculate number of shares to trade. This is suppose to run on D1 (daily) timeframe chart so the trade is executed on market (bar) open
0
kasinath
6 years ago #266706
Thanks tomas.
I opened this up in AW, and I’m still not seeing daily trades or, as expected, multiple open positions closing out on the same day.
I will make a video later today to show you.
0
kasinath
6 years ago #266709
Here it is.
In the video, all i do is:
- Load the strat
- Set the profit target variable (500)
- Change the data ( Tradestation , $TSLA )
- Run
0
Tomas Matejka
6 years ago #266722
Hello,
I have reported this to developers to check whether the strategy template is evaluated correctly according to the trading logic set. Will send you an email once I get a feedback
0
kasinath
6 years ago #266726
Okay. Thank you.
0
kasinath
6 years ago #266795
Hi.
Please let me know if you’ve heard back from the developers.
Thanks.
0
kasinath
6 years ago #266877
It’s been quite some time since I reached out for help on this. Even before I started this thread.
I still don’t know if it’s a bug, if I’m doing something wrong, or if this is not possible.
Can someone, anyone, please advise?
0
Viewing 7 replies - 1 through 7 (of 7 total)