Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //Youtube--> https://www.youtube.com/watch?v=CRoRxX1xVEQ
- int Doji=0;
- void OnTick()
- {
- MqlRates price[];
- ArraySetAsSeries(price,true);
- CopyRates(Symbol(),Period(),0,2,price);
- if(price[1].open==price[1].close) Doji=Doji + 1;
- Comment("\n\nDoji: ",Doji);
- }
Advertisement
Add Comment
Please, Sign In to add comment