|
|||||||
| Register in Forex TSD! | |
|
Trading Systems Leaders in this forum (automated trading systems) are winning more than 3000 pips in a month (30000$ investing one lot every time). Click here to register and get more information |
|
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
Here's what you need:
if(timeprev!=Time[0]) //---- it will execute the following only if a new bar started { YOUR CODE HERE; timeprev = Time[0]; //---- it register here the open time of the current bar } Hope that helps, FerruFx
__________________
THE HEART of FOREX & THE PROBABILITY METER - Trade with 100% confidence and ... Stress Less!!! Coding services: Experts Advisors, indicators, alerts, etc ... more info by PM NEW: video presentation of the Probability Meter ... 24hrs action on the website |
|
||||
|
Quote:
It would look like that???: Quote:
It look to work on compile but i get error now about the: ElapsedTimeCheck - expression on a global scope not allowed WaitMinutes - expression on a global scope not allowed ShowInfo - is not referenced ..... but i got the code at the end: void ShowInfo() { Comment("...::: Inzider EA FULL :::...\n", "Copyright © 2008 Inzider\n", "Currency Pair: ", Symbol(),"\n", "Price: ",NormalizeDouble(Bid,4),"\n", "Date: ",Month(),"-",Day(),"-",Year()," Server Time: ",Hour(),":",Minute(),":",Seconds(),"\n", "Minimum Lot Size: ",MarketInfo(Symbol(),MODE_MINLOT)); return(0); } So i don't understand why i get these error.
__________________
Common Sens Indicators Active! Last edited by inzider : 05-02-2008 at 05:35 AM. |
|
|||
|
Quote:
You must call it: int start() { if(your condition == true) ShowInfo(); } FerruFx
__________________
THE HEART of FOREX & THE PROBABILITY METER - Trade with 100% confidence and ... Stress Less!!! Coding services: Experts Advisors, indicators, alerts, etc ... more info by PM NEW: video presentation of the Probability Meter ... 24hrs action on the website |
![]() |
| Thread Tools | |
| Display Modes | |
|
|