[idézet=frxdhs;15368382]{idézet} vennék vagy eladnék?[/idézet]
Based on the picture, I thought it was clear. Of course, buy.
Based on the picture, I thought it was clear. Of course, buy.
I am Looking Stochastic-RSI with Alert 4 replies
Stochastic-RSI 12 replies
New Method: Combination of Stochastic+RSI 49 replies
Stochastic divergence indicator with stochastic cross? 0 replies
Stochastic of an RSI Indicator 1 reply
DislikedEA based on the rules to help test method only. Do NOT use on Live Account!!! Can be improved once tested. Also indicator to mark the buys and sells. {file} {file}Ignored
→ When this happens, set: BuyBreak = TRUE
B. Re‑Entry Condition (entry trigger)
A BUY entry is triggered when ALL of the following are true on a later closed candle:
→ When this happens: Open BUY Reset BuyBreak = FALSE
C. EMA Filter (optional, same for EA & indicator)
If enabled:
Sell
A. Break Condition (must happen first)
A SELL break is detected when ALL of the following are true on a closed candle:
→ When this happens, set: SellBreak = TRUE
B. Re‑Entry Condition (entry trigger)
A SELL entry is triggered when ALL of the following are true on a later closed candle:
→ When this happens: Open SELL Reset SellBreak = FALSE
C. EMA Filter (optional, same for EA & indicator)
If enabled:
ADDITIONAL RULES (Shared by EA & Indicator)
1. All conditions use CLOSED candles only
No real‑time / tick‑based evaluation.
2. Break and re‑entry can occur ANY number of bars apart
There is no fixed bar distance between break and re‑entry.
3. Only one break flag per direction
4. Break is invalidated if EMA filter blocks entry
If EMA filter is ON and EMA is inside BB(50,2), both flags reset.
5. Indicator marks the candle where the EA would enter
Vertical line = the candle where re‑entry conditions are met.
This is the exact logic BOTH EA and indicator must follow
…you can visually see when the SMA is about to turn.
The 70‑period SMA is the average of the last 70 closes. Each new bar:
So the direction of the SMA depends entirely on the relationship between these two numbers.
If current price > price 70 bars ago → SMA will start rising
If current price < price 70 bars ago → SMA will start falling
This means the “price 70 bars ago” acts like a pivot threshold for the moving average.
Plotting the current price and the 70‑bars‑ago price gives you:
1. Trend Strength
2. Early Warning of MA Reversals
3. Predictive Power
You can literally see future SMA turning points before they happen because the SMA is mathematically forced to follow the relationship between these two prices.
Practical Interpretation
This gives you a leading indicator for a traditionally lagging indicator.
In this example we would plot 1 sma shifted 70, we see the price 70 bars ago on the the current bars.
Even though an EMA doesn’t “drop” the price from 70 bars ago the way an SMA does, the direction of the EMA still depends entirely on whether the current price is above or below the EMA’s own value.
And the EMA’s value is itself a weighted blend of past prices — with the heaviest weight on the most recent ones and exponentially decreasing weights on older ones.
An EMA rises only when the current price is above the EMA. An EMA falls only when the current price is below the EMA.
But what determines whether the EMA is above or below its past values? The same principle as the SMA:
So while the EMA doesn’t have a single “drop‑off” price like the SMA, the relationship between current price and past prices still governs its slope.
I hope this maybe of help. If not, please delete this post as it is not my wish to disrupt your thread.
Example:
DislikedHi everyone, a special shout-out to @pusztafie, thanks for the contribution. I took this EUR/JPY entry at 15M on a demo account. Do you consider it a valid trade?{image} Greetings to all!Ignored
DislikedOf course. This is the EA and showing the indicator. If the logic is wrong please let me know. On the indicator turn of the EMA filter. Which is based on your recommendation regarding 200 and 100 ema. If false EMAs not shown on EA. {image} Buy A. Break Condition (must happen first) A BUY break is detected when ALL of the following are true on a closed candle: Close < Lower Bollinger Band (50,2) RSI(3) < 20 Stochastic %K(6,3,3) < 20 → When this happens, set: BuyBreak = TRUE B. Re‑Entry Condition (entry trigger) A BUY entry is triggered...Ignored
Disliked{quote} I updated post 1 based on the recommendation of my dear friend Hasib. Please read it and update your indicators. Set stoch levels to 80,60,40. Add SMA as well, this was recommended by Ronin, to whom I am very grateful for his contribution.Ignored
Disliked{quote} Excuse me, I have a question. The levels used for RSI are 70, 50, and 30. For stochastic oscillator, are they 80, 60, 40, and 20? Thank you for your clarificationIgnored
Disliked{quote} The logic is perfect. Could you change the EA to match the posted 1st post, please?Ignored
2. BUY Logic
A. Break Condition (oversold breakout)
A BUY setup becomes “armed” when all are true on a closed candle:
→ Set BuyBreak = TRUE
B. Re‑Entry Condition (entry trigger)
A BUY entry occurs when all are true on a later closed candle:
→ Open BUY → Reset BuyBreak = FALSE
C. BUY Stop Loss Options (handled automatically by EA)
The EA uses the input SL_Mode to choose the stop loss:
You do not choose manually — the EA applies the selected mode.
D. BUY Take Profit Options (handled automatically by EA)
The EA uses the input TP_Mode to choose the take profit:
Again, the EA applies this automatically.
3. SELL Logic
A. Break Condition (overbought breakout)
A SELL setup becomes “armed” when all are true on a closed candle:
→ Set SellBreak = TRUE
B. Re‑Entry Condition (entry trigger)
A SELL entry occurs when all are true on a later closed candle:
→ Open SELL → Reset SellBreak = FALSE
C. SELL Stop Loss Options (handled automatically by EA)
The EA uses SL_Mode:
D. SELL Take Profit Options (handled automatically by EA)
The EA uses TP_Mode:
4. Additional EA Rules
5. Indicator Behaviour