Отслеживать
1
0
Ответвление
У вас уже есть ответвление Warrior_EA
0
ответвлён от animatedread/Warrior_EA
Warrior_EA/Expert/Topology/AIBaseTopologyView.mqh
AnimateDread b2784b5a4d Enhance Feature and Topology Interfaces with Bulk Operations and Cache Management
- Added bulk read/write methods for feature caches in IFeaturesView and its implementations to optimize performance.
- Introduced LabelCacheInvalidateAll method to manage label cache invalidation alongside feature cache.
- Implemented PooledIndependentBars method in topology interfaces to account for additional independent observations.
- Enhanced risk budget management with throttling for peak-equity updates to reduce unnecessary file operations.
- Improved error handling and logging for ATR trailing stops to ensure better visibility of issues.
- Updated alt-data handling to prevent unnecessary operations during testing and optimization phases.
2026-08-25 22:51:50 -04:00

63 строки
3 КиБ
MQL5

//+------------------------------------------------------------------+
//| Warrior_EA |
//| AnimateDread |
//| |
//| CAIBaseTopologyView - declarations only, bodies in |
//| AIBaseTopologyViewImpl.mqh (needs the full signal declared). |
//| Same shape as Persistence\AIBasePersistenceView.mqh. |
//+------------------------------------------------------------------+
#ifndef WARRIOR_TOPOLOGY_AIBASETOPOLOGYVIEW_MQH
#define WARRIOR_TOPOLOGY_AIBASETOPOLOGYVIEW_MQH
#include "ITopologyView.mqh"
class CExpertSignalAIBase;
class CAIBaseTopologyView : public CTopologyView
{
private:
CExpertSignalAIBase *m_owner;
public:
CAIBaseTopologyView(void) : m_owner(NULL) { }
void Bind(CExpertSignalAIBase *owner) { m_owner = owner; }
virtual string Id(void) override;
virtual string SymbolName(void) override;
virtual ENUM_TIMEFRAMES Timeframe(void) override;
virtual int OptimizationAlgo(void) override;
virtual int OutputNeuronsCount(void) override;
virtual int NeuronsCount(void) override;
virtual int HistoryBars(void) override;
virtual int InitialNeuronsCount(void) override;
virtual int HiddenLayersCount(void) override;
virtual int ConvFilterCount(void) override;
virtual int LstmHiddenSize(void) override;
virtual int MinTrainYear(void) override;
virtual int FractalPeriods(void) override;
virtual int OosSplitPct(void) override;
virtual int SwingConfirmationBars(void) override;
virtual int ZigZagHandle(void) override;
virtual bool UseVolumes(void) override;
virtual bool UseTime(void) override;
virtual bool UseATR(void) override;
virtual bool UseSwingContext(void) override;
virtual bool UseNews(void) override;
virtual int NewsFeatureWindowMinutes(void) override;
virtual bool UseMA(void) override;
virtual bool UseCrossAsset(void) override;
virtual bool UseSpreadFeature(void) override;
virtual bool UseAltData(void) override;
virtual bool IsEnsembleMember(void) override;
virtual double PooledIndependentBars(void) override;
virtual bool UsesConvStage(void) override;
virtual bool UsesLstmStage(void) override;
virtual bool HasConvBeforeLstm(void) override;
virtual bool AddCustomLayers(CArrayObj *topology) override;
virtual ENUM_ACTIVATION HiddenLayerActivation(void) override;
virtual ENUM_ACTIVATION OutputLayerActivation(void) override;
virtual int NetInputWidth(void) override;
virtual bool ReplaceNetFromTopology(CArrayObj *topology) override;
virtual void ResetOnlineLearningForFreshTopology(void) override;
};
#endif // WARRIOR_TOPOLOGY_AIBASETOPOLOGYVIEW_MQH
//+------------------------------------------------------------------+