AiDataTaskRuner/FilesInstaler/res/feditor/complex_features.fgblc

22 lines
1.6 KiB
Text
Raw Permalink Normal View History

2026-04-22 07:00:43 -05:00
<EFBFBD><EFBFBD>name = [RSI Context Matrix] // 5-bar rolling window - 3 features per bar (15 values total)
2026-03-26 09:51:33 -05:00
@ Config
{
2026-04-22 07:00:43 -05:00
cols = 3; // Features per row: RSI value, VIDYA distance, normalized StdDev
2026-03-26 09:51:33 -05:00
}
2026-04-22 07:00:43 -05:00
// Matrix of 5 rows: each row captures a different bar in the lookback window.
// Useful for LSTM, Transformer, or any sequence-based ML model.
@ New Matrix(rows=5)
2026-03-26 09:51:33 -05:00
{
2026-04-22 07:00:43 -05:00
// #Generate([start, step, len]) auto-builds the index list.
// [0,1,5] -> indices [0, 1, 2, 3, 4]
// idx=0 = current bar, idx=4 = 4 bars back
# Generate([0,1,5])
{
[Rsi_Valor][](Timeframe=Current|Period=14|Applied=0|Hide=true)
[Vidya_Distancia][](Timeframe=Current|CmoPeriod=9|EmaPeriod=12|Applied=0|Hide=true)
[StdDev_Normalizado][](Timeframe=Current|MaPeriod=20|MaShift=0|MaMethod=0|Applied=0|Hide=true)
}
}