Tango.Trader / Publications
Forum
Convert inicator into Strategy
Hi I'm trying out some simple strategies however I'm struggeling to understand how to produce calculations to use in trade conditions. Anyway if you're able answer this that should be resolved: I'm trying to get this simple calculation/indicator into a strategy where I can use it to create a
MA different to self calculated MA
double Array_MA10[]; int OnInit () { //--- indicator buffers mapping SetIndexBuffer ( 0 ,ShiftedMABuffer, INDICATOR_DATA ); //--- return ( INIT_SUCCEEDED ); } //+------------------------------------------------------------------+ //| Custom indicator iteration function
Weekend Data
Hi, I have been trying MT5 recently for automated trading crypto, however there have been some issues with the missing weekend data. I have attached a screenshot showing this missing data. I believe it has contributed to my practice scripts falling over when back testing as when it's applied to FX