Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // https://youtu.be/VuyDXGWUBdk
- int contador=1;
- int sumadorSpread=0;
- int OnCalculate(const int rates_total,
- const int prev_calculated,
- const int begin,
- const double &price[])
- {
- Comment("Spread: ",SymbolInfoInteger(_Symbol,SYMBOL_SPREAD),
- "\ncontador: ",contador,
- "\nSumadorspread: ",sumadorSpread,
- "\nMedia Spread: ",
- (sumadorSpread=sumadorSpread +
- SymbolInfoInteger(_Symbol,SYMBOL_SPREAD))
- /contador
- );
- contador++;
- return(0);
- }
Advertisement
Add Comment
Please, Sign In to add comment