Big Tick 2





#property indicator_chart_window

extern int ticksizeA=1; 
extern int ticksizeB=2;

string ArrowName;
double price, lastprice;
int init () {
lastprice=100000.0;
}
int start() {
price=Bid;
if(price-lastprice > ticksizeA*Point)
   {
   ArrowName=TimeCurrent();
   ObjectCreate(ArrowName, OBJ_ARROW, 0, Time[0], Bid);
   ObjectSet(ArrowName,OBJPROP_ARROWCODE,225);
   ObjectSet(ArrowName,OBJPROP_COLOR,Lime);
   }
if(lastprice-price > ticksizeA*Point)
   {
   ArrowName=TimeCurrent();
   ObjectCreate(ArrowName, OBJ_ARROW, 0, Time[0], Bid);
   ObjectSet(ArrowName,OBJPROP_ARROWCODE,226);
   ObjectSet(ArrowName,OBJPROP_COLOR,Yellow);
   }
   
if(price-lastprice > ticksizeB*Point)
   {
   ArrowName=TimeCurrent();
   ObjectCreate(ArrowName, OBJ_ARROW, 0, Time[0], Bid);
   ObjectSet(ArrowName,OBJPROP_ARROWCODE,241);
   ObjectSet(ArrowName,OBJPROP_COLOR,Aqua);
   }
if(lastprice-price > ticksizeB*Point)
   {
   ArrowName=TimeCurrent();
   ObjectCreate(ArrowName, OBJ_ARROW, 0, Time[0], Bid);
   ObjectSet(ArrowName,OBJPROP_ARROWCODE,242);
   ObjectSet(ArrowName,OBJPROP_COLOR,Orange);
   }   
lastprice=price;
return(0);
}//start





Sample





Analysis



Market Information Used:

Series array that contains open time of each bar


Indicator Curves created:


Indicators Used:



Custom Indicators Used:

Order Management characteristics:

Other Features: