Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Automatic Trading Strategy

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Automatic Trading Strategy

    Hello everyone,

    First, if any moderator thinks I am posting in the wrong section, feel free to move the post. I have a system that I need to automate in order to run simulations and perform historical backtesting. The problem is that, although I believe the system is automatable, I can't find the tools to do it.

    First, a brief explanation: I trade the S&P 500 futures, and I trade retracements to the first standard deviation of the VWAP of the RTH session, with the condition that the market is outside the value area of the RTH volume profile.

    Graphically, it would look like this: (IMG From Tradingview just for reference)

    Shorts:

    Click image for larger version  Name:	Captura-de-pantalla-2025-01-07-184222.png Views:	0 Size:	10.9 KB ID:	1330086

    Longs:

    Click image for larger version  Name:	Captura-de-pantalla-2025-01-07-184351.png Views:	0 Size:	7.0 KB ID:	1330085


    So, the entry condition could be an EMA crossover with the price; I understand that part. I use NinjaTrader as my platform, which has a Strategy Builder that allows me to create and analyze automated strategies with a variety of properties or characteristics, but I can't use the Value Areas as an entry condition.

    If we look at the chart, a long position implies a crossover with a moving average, as long as Price > VAH, and for the short position, Price < VAL... the condition itself is quantifiable, but NinjaTrader does not allow me to use it, and I don't know if any other platform can.

    Another question is about the dynamism of the volume profile, meaning the value areas move live in the market. I don't know if the Strategy Builder works like a "market replay" or analyzes the market after the session is closed, which would make it impossible to implement the system, at least in NinjaTrader.

    If anyone knows, has used something similar, or understands what I'm referring to, I would be grateful.​.. (I'm not programmer, So I don't know anything about coding)
    Last edited by GustavoRodrigzS; 01-07-2025, 05:36 PM.

    #2
    I had a similar issue before, and adjusting the order handling settings helped a lot. Sometimes, the strategy logic might need a slight tweak to avoid multiple executions. Also, double-check that your conditions aren’t triggering orders more than expected. If you're using external tools for testing, comparing results could highlight mismatches. I usually run a test setup with xonedium, and it helps me catch unintended trade triggers I had overlooked.
    Last edited by Kolumbiann; 04-08-2025, 03:58 AM.

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Mindset, 04-21-2026, 06:46 AM
    0 responses
    87 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by M4ndoo, 04-20-2026, 05:21 PM
    0 responses
    128 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by M4ndoo, 04-19-2026, 05:54 PM
    0 responses
    65 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by cmoran13, 04-16-2026, 01:02 PM
    0 responses
    117 views
    0 likes
    Last Post cmoran13  
    Started by PaulMohn, 04-10-2026, 11:11 AM
    0 responses
    67 views
    0 likes
    Last Post PaulMohn  
    Working...
    X