Professional Documents
Culture Documents
Telegra PH Trading Signal For SPY Statistical Odds 08 23
Telegra PH Trading Signal For SPY Statistical Odds 08 23
1. Signal
Ἳ Probability: 69.04%
Ὅ Name: The price has broken its maximum value for the last month
Ἱ Timeframe: D1
signal, the red dashed line is the optimal stop loss for the signal. Right: SPY chart for the last 23 days,
mean?
The price has broken its maximum/minimum value for the last month:
• A signal for price movement upward occurs when the maximum price for the last
• A signal for price movement downward occurs when the minimum price for the last
Left: "The price has broken its maximum/minimum value for the last month" pattern generates a Long
signal. Right: "The price has broken its maximum/minimum value for the last month" pattern generates
a Short signal
SPY
For the generated signal, we conducted an MFE/MAE test (see definition here) in
order to understand the most advantageous position holding time (in days), if this
signal is followed. The higher the values of the MFE/MAE curve of 1, the more
chances of getting the greatest return in relation to risk for a given position holding
The maximum value of the MAE/MAE curve (see the figure below) corresponds to the
MAE/MFE curve for the "The price has broken its maximum/minimum value for the last month" signal
for the SPY instrument. If the ratio MFE/MAE > 1, then the entry point has an advantage and gives a
were 1111 of them) and calculated the probability of positive outcomes after 66 day(s)
3.3. What happened to the SPY price after generating the same
We generated 10 of the same signals in the past and tried to simulate what happened
to the price for the next day, the next 2 days, 3 days, 1 week, 2 weeks, 1 month and 3
months (price change as a percentage of the price value at which the signals were
generated). From the table below, you can see that 10 signals were generated during
the period from 2021-04-09 to 2021-05-07. Green blocks mean that the price has
increased over a certain period. Red blocks mean that the price has decreased over a
certain period. The percentage of price change is indicated inside the cell.
What happened to the SPY price after generating the same 10 signals in the past between 2021-04-09
and 2021-05-07?
after each of the 10 signals was generated (see the picture below). The red line is the
average for all such trajectories and describes how the SPY price has changed on
10 trajectories of the SPY price movement within 66 days and their average (red line) after generating
3.4. Optimal stop loss and take pro ½t for the signal
We tested the SPY for the period from 2000-02-04 to 2021-05-20 to find the best
combination of stop loss and take profit levels for the “The price has broken its
We used 2 models for setting a stop loss: by the size of the candlestick pattern,
relative to which the signal is generated, and by ATR (Average True Range). The stop
loss level is additionally varied by multiplying its size by a coefficient from the
interval from 0.5 to 3.5. The take profit level is calculated relative to the size of the
stop loss and additionally varies by multiplying the size of the stop loss by a
The criterion for the optimal combination of stop loss and take profit was
maximization of the average return on the signal for the period from 2000-02-04 to
2021-05-20.
For the model of setting a stop loss relative to the size of the signal candlestick
"Stop Loss and Take ProÛt Test" for the "The price has broken its maximum/minimum value for the last
month" signal for the SPY instrument using candlestick model size. The size of the optimal distance for
placing a protective stop order and take proÛt from the signal generation point is determined by the
maximum value (average return if the signal is executed) inside the table cell.
For the model of setting a stop loss relative to the ATR value at the signal generation
month" signal for the SPY instrument using ATR. The size of the optimal distance for placing a
protective stop order and take proÛt from the signal generation point is determined by the maximum
value (average return if the signal is executed) inside the table cell.
The tests showed that we will get the following optimal parameters
See "Same Stop and Take Profit Test" definition here: Same Stop and Take Profit Test
For the generated signal, we additionally carried out the "Same Stop and Take Profit
Test". We have modeled the percentage of profitable trades when placing a protective
stop order and take profit at the same distance from the signal generation point. For
testing, we used 2 types of stop order distance from the signal generation point,
multiplied by a factor from 0.5 to 3.5 with a step of 0.5: a distance equal to the size of
the candlestick pattern and a distance equal to the ATR for the SPY instrument at the
month" signal for the SPY instrument. The percentage of positive signal outcomes is indicated inside