molanis.com/forum - Tools for MetaTrader : The place to ask about the best expert advisor builder, expert advisor downloads, and expert advisor programming http://www.molanis.com/forum/ |
|
Definition of price field in TA options http://www.molanis.com/forum/viewtopic.php?f=9&t=394 |
Page 1 of 1 |
Author: | mhaqmd [ Fri Jul 01, 2011 9:26 am ] |
Post subject: | Definition of price field in TA options |
Please define price field. I did search in forum to see if I could find the answer in some of the previous posts by anyone but could not find it. Thanks a lot |
Author: | molanisfx [ Fri Jul 01, 2011 9:52 am ] |
Post subject: | Re: Definition of price field in TA options |
Currently in version 3.14 you can manage the following prices: Open Close High Low iOpen iClose iHigh iLow Ask Bid |
Author: | tcanuto [ Tue Jul 03, 2012 3:37 pm ] |
Post subject: | Re: Definition of price field in TA options |
I am also this question: What is Price Field, which is within TA? |
Author: | RJo [ Tue Jul 03, 2012 4:56 pm ] |
Post subject: | Re: Definition of price field in TA options |
It depends what you mean by Price Field... If you select Moving Average, then you choose from: Close Open High Low Median Typical Weighted (as to the latter 3, see http://blog.nobletrading.com/2009/12/median-price-typical-price-weighted.html for general definitions) Or you can select a particular price directly to use as your indicator: Close Open Low High Bid Ask (see http://book.mql4.com/variables/predefined) If you select User Defined Price, then it's whatever you type (0.00000 for example). (v3.15) |
Author: | tcanuto [ Tue Jul 03, 2012 5:17 pm ] | ||
Post subject: | Re: Definition of price field in TA options | ||
RJO Thanks for the help, but what I mean is that simple! This is the Stochastic indicator:
|
Author: | molanisfx [ Tue Jul 03, 2012 11:16 pm ] |
Post subject: | Re: Definition of price field in TA options |
See http://docs.mql4.com/indicators/iStochastic Quote: price_field - Price field parameter. Can be one of this values: 0 - Low/High or 1 - Close/Close. Some indicators can be calculated based on different price inputs, i.e. ma can use any bar price and more, Stochastic can be calculated using 0 - Low/High or 1 - Close/Close. |
Author: | tcanuto [ Tue Jul 03, 2012 11:57 pm ] |
Post subject: | Re: Definition of price field in TA options |
Could you please give examples of how to use it as little understood! I'm waiting! See you soon! |
Author: | RJo [ Wed Jul 04, 2012 9:42 am ] |
Post subject: | Re: Definition of price field in TA options |
From http://www.forexfactory.com/showthread.php?p=1481562: "As far as I can tell, High/Low uses the following formula to calc %K: 100 x (Recent Close - Lowest Low*) / (Highest High* - Lowest Low*) [* for the last N periods, where N is the %K parameter] whereas Close/Close uses the following formula to calc %K: 100 x (Recent Close - Lowest Close*) / (Highest Close* - Lowest Close*)" So, changing the Price Field setting changes the price used in calculating the %K line. The stochastic indi has 2 lines: %K (fast) and %D (slow). The %D line is a slowed version of the %K line. So if you change the price used in the calculation of the %K line, you are thereby changing the calculation of the %D line as well--you are changing the entire indi. For the entire stochastic calculation, visit the link at the top of this post. If you want more reading, visit the link at the top of that post. To watch the indi in action, go to your standard Indicators folder in MT4 (not Custom Indicators), attach the Stochastic Oscillator, and change the Price Field setting. For a working EA example, simply build the mol in SB and select 0's or 1's. |
Page 1 of 1 | All times are UTC - 5 hours |
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |