Quantum frequency
The indicator calculates the quantum frequencies using the current market data. The quantum frequencies are used in Spectrum analysis of automated trading systems to create quantum filters for selecting signals, i.e. skipping trades that are likely to be unprofitable.
How It Works
- It analyses the trade results of automated trading system for each frequency (512 frequencies are used).
- Calculation of the frequency response to search for "profitable" and "unprofitable" frequencies.
- Creation of filter, that will filter the signals and block the unprofitable ones.
- As a result, it allows to create an automated trading system based on original with fewer losing trades.
Input Parameters
- Depth indicator calculation - depth of history in bars for the indicator calculation.
- Creation of global variables - select whether the quantum frequencies should be duplicated in the global variables.
- Chords of time frames - timeframe chord.
Timeframe chord is a combination of timeframes for a selected symbol, for example: (C) chord consists of M1, M5, M15, M30, H1, H4, D1, W1 and MN1. It was used in the previous version for calculating the quantum frequency. However, it appeared that different timeframe sets (chords) should be used for different trading strategies. For example, (H) and (A) are more suitable for scalping.
The following chords are suggested:
Chords |
TF1 |
TF2 |
TF3 |
TF4 |
TF5 |
TF6 |
TF7 |
TF8 |
TF9 |
(C) |
M1 |
M5 |
M15 |
M30 |
H1 |
H4 |
D1 |
W1 |
MN1 |
(D) |
M1 |
M5 |
M15 |
M30 |
H1 |
H4 |
H12 |
D1 |
W1 |
(E) |
M1 |
M5 |
M15 |
M30 |
H1 |
H4 |
H8 |
D1 |
W1 |
(F) |
M1 |
M5 |
M15 |
M30 |
H1 |
H3 |
H6 |
H12 |
D1 |
(G) |
M1 |
M5 |
M15 |
M30 |
H1 |
H2 |
H4 |
H8 |
D1 |
(A) |
M1 |
M5 |
M10 |
M20 |
M30 |
H1 |
H3 |
H6 |
H12 |
(H) |
M1 |
M2 |
M3 |
M4 |
M5 |
M6 |
M10 |
M15 |
M30 |
Buffers:
- 0 - Quantum frequency to BUY
- 1 - Quantum frequency to SELL
Error messages:
- If you see the message "Not enough data to calculate", you should download missing history or decrease the depth of calculation.
For convenience, the values of quantum frequencies are saved in global variables of the client terminal:
name=Symbol()+"_BUY";
GlobalVariableSet(name,Q_Buy);
name=Symbol()+"_SELL";
GlobalVariableSet(name,Q_Sell);