expert Advisor and 1 hr. charts
  #1 (permalink)  
Old 03-03-2007, 07:42 AM
Freshman
 
Join Date: Feb 2007
Posts: 17
Thanks: 0
Thanked 0 Times in 0 Posts
trustdoc7 is on a distinguished road
Default expert Advisor and 1 hr. charts

A Newbie question...
I want to use 1 hr. chart and indicators... And design an expert Advisor...
Does the Expert Adviser adjust the varying inputs of the Indicator during the 1 hr. Bar, or just read it at the end of the hr?????
ie. a Tick Stop Loss is constantly assesing the current price.
Can an expert constantly assess the immediatley changing variables of an Indicator?
Cheers,
Alan
Reply With Quote
  #2 (permalink)  
Old 03-03-2007, 02:16 PM
scorpion's Avatar
Administrator
 
Join Date: Aug 2004
Posts: 1,923
Thanks: 97
Thanked 361 Times in 147 Posts
scorpion is a splendid one to beholdscorpion is a splendid one to beholdscorpion is a splendid one to beholdscorpion is a splendid one to beholdscorpion is a splendid one to beholdscorpion is a splendid one to beholdscorpion is a splendid one to beholdscorpion is a splendid one to behold
Send a message via MSN to scorpion Send a message via Yahoo to scorpion
Default

Indicator's value is updated every tick. In fact, it's tick-by-tick basis for everything including all predefined variables (Bid, Ask, Open, High, Low, Close, Vol) and all indicator's values. When price is changed, you'll get different values.

It should be noted that the start() is called on every new tick, and init() is called only once when you attach the EA to a chart.

Stop loss and take profit are executed on tick-by-tick basis too but at broker's side. Even you close metatrader or shut down pc, when price hits the SL/TP, broker will automatically close the order.
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Expert Advisor vs Expert Adviser scorpion Chit Chat 5 02-01-2008 07:18 AM
Expert Advisor Builder for MT4 scorpion Tools / Utilities 21 01-20-2008 04:42 AM
EXPERT ADVISOR - using CCI & STOCH standard forodo System Coding 18 07-28-2007 06:19 AM
MM Expert Advisor bossxero System Coding 0 12-12-2006 08:02 AM


All times are GMT. The time now is 11:35 AM.
Powered by vBulletin Version 3.6.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.1.0

Registered members have access to special online forex currency trading tools, software, mt4 expert advisors and indicators. Register now