Reply

Dollar Cost Average Strategy w/Equities

7 replies

kasinath

Subscriber, bbp_participant, customer, community, sq-ultimate, 112 replies.

Visit profile

3 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. 

Attachments:
You must be logged in to view attached files.

0

tomas262

Administrator, sq-ultimate, 2 replies.

Visit profile

3 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

Attachments:
You must be logged in to view attached files.

0

kasinath

Subscriber, bbp_participant, customer, community, sq-ultimate, 112 replies.

Visit profile

3 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

Subscriber, bbp_participant, customer, community, sq-ultimate, 112 replies.

Visit profile

3 years ago #266709

Here it is.

In the video, all i do is:

  1. Load the strat
  2. Set the profit target variable (500)
  3. Change the data ( Tradestation , $TSLA )
  4. Run

 

Attachments:
You must be logged in to view attached files.

0

tomas262

Administrator, sq-ultimate, 2 replies.

Visit profile

3 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

Subscriber, bbp_participant, customer, community, sq-ultimate, 112 replies.

Visit profile

3 years ago #266726

Okay. Thank you.

0

kasinath

Subscriber, bbp_participant, customer, community, sq-ultimate, 112 replies.

Visit profile

3 years ago #266795

Hi.

Please let me know if you’ve heard back from the developers.

Thanks.

 

0

kasinath

Subscriber, bbp_participant, customer, community, sq-ultimate, 112 replies.

Visit profile

3 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)