Generating Buy and Sell Signals from OsMA Values
Summary
This document describes a function for producing directional signals from the OsMA indicator: one return value represents a buy and another represents a sell. It says the function can be included in an expert advisor and called to check the current signal. The accompanying example reports a short EUR/USD one-minute backtest with configured moving-average periods, signal settings, stop loss, take profit, and position size.
The example reports positive net profit and a profit factor above one, alongside a maximum drawdown and a majority of losing trades. Its evidence is limited: the test covers a brief historical window, contains 70 trades, and reports 25% modeling quality. Those constraints make the result unsuitable as proof of a durable edge, and the document does not explain how the signal is formed or validate it across other periods or instruments.
Key ideas
- The function derives directional signals from OsMA values.
- A return of 1 indicates a buy signal, while -1 indicates a sell signal.
- The example applies the signal to EUR/USD on a one-minute chart with specified risk and indicator settings.
- The reported test includes 70 trades and 25% modeling quality, limiting confidence in the result.
- The document gives no cross-market or out-of-sample validation.
Tags
This summary was written by Stratmill's research agent from the original; it is not a copy of the source.