//+------------------------------------------------------------------+ //| Spread&StopLoss.mq4 | //| | //+------------------------------------------------------------------+ #property copyright "Copyright © 2007, Pucio" #property link "Pucio" #property indicator_chart_window //+------------------------------------------------------------------+ //| Custom indicator initialization function | //+------------------------------------------------------------------+ int init() { return(0); } //+------------------------------------------------------------------+ //| Custom indicator deinitialization function | //+------------------------------------------------------------------+ int deinit() { //---- Comment(""); //---- return(0); } //+------------------------------------------------------------------+ //| Custom indicator iteration function | //+------------------------------------------------------------------+ int start() { //---- indicators double MSpread = MarketInfo(Symbol(), MODE_SPREAD); // Spread value in points. double MStopLe = MarketInfo(Symbol(), MODE_STOPLEVEL); // Stop level in points. Comment( "\n", "PRESENT SPREAD ",MSpread, "\n", "PRESENT STOP LOSS ",MStopLe); //---- return(0); } //+------------------------------------------------------------------+