Help needed for simple Stochastic EA
-
Hello,
I try to build a simple bot, which I found in the traders mag10/23. Profitfaktor 1,48 for the SP500 Daily Timeframe backtested from 2000 - 07.09.2023:
Long is allowed if:
- No active trade
AND - Fast-Stochastic-Line (Period 31) is above 50
and buy gets triggered, if: Fast-Stochastic-Line (Period 3) is crossing Fast-Stochastic-Line (Period 5)
The open position gets closed, if: Fast-Stochastic-Line (Period 3) is recrossing Fast-Stochastic-Line (Period 5)
Well, I'm struggling with it obviously, cause the strategy-tester shows me that positions get closed in the same bar.
What am I doing wrong?
- No active trade
-
Can you click on Projects>Create a Shared Copy and post it here.....*
-
-
No...Top left of the Builder...>>

-
Morpheus, thanks for your patience! I'm such a noob...but it's going to change

-
I'm not 100% percent sure, but try using no Candle IDs....or try 'Is Above/Below' with Candle ID 1 rather than crosses Above/Below.....
It's just a matter of trial and error....and a truckload of patience.....

I've been here a while and I'm still a noob :))
-
A good way to test is to run only 1 condition (per tree) at a time, and draw lines on the value, so you can visually check when something should work.
-
Hi guys,
I guess I found the misstake. By default the "BuyNow" has SL and TP activated. After disabling it, it looks more towards the expected direction.
Market Forecast Indicator Traders 10_23.ex5I'm just wondering why the backtest stucks on the 23rd Februar 2017? The journal shows an infite loop:
2024.01.16 12:59:10.443 Core 1 2017.02.23 01:00:00 failed market sell 1 US500, close #102 buy 1 US500 2362.52 [Market closed]
2024.01.16 12:59:10.443 Core 1 2017.02.23 01:00:00 Closing position/trade error: Market is closed (10018)Any idea how I could fix this?
Many thanks in advance for your time and brainpower!
