Not logged in
Viewing 8 posts - 1 through 8 (of 8 total)

Forums>AlgoWizard / EA Wizard>Make my EA>Dollar Cost Average Strategy w/Equities

  • #266673 |
    Customer
    109 Posts

    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. 

    • This topic was modified 8 months, 4 weeks ago by kasinath.
    • This topic was modified 8 months, 4 weeks ago by kasinath.
    Attachments:
    You must be logged in to view attached files.
    #266694
    tomas262
    Administrator
    1823 Posts

    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.
    #266706
    Customer
    109 Posts

    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.

     

    #266709
    Customer
    109 Posts

    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.
    #266722
    tomas262
    Administrator
    1823 Posts

    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

    #266726
    Customer
    109 Posts

    Okay. Thank you.

    #266795
    Customer
    109 Posts

    Hi.

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

    Thanks.

     

    #266877
    Customer
    109 Posts

    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?

     

     

Viewing 8 posts - 1 through 8 (of 8 total)

You must be logged in to reply to this topic.