Join our fan page
- Views:
- 31893
- Rating:
- Published:
- 2015.06.25 09:41
- Updated:
- 2016.11.22 07:32
-
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance
Using Golden Section Analysis of the market for yesterday and last week.
The core is to calculate the start and end times of yesterday or last week. A week of market begins at 17:00 EST (USA EAST UTC -5) on Sunday, the market continues till Friday 17:00.
Input parameters:- startWeekDayOfWeek — first day of the week, 1 for East, 7 for West
- minTimeFrames — minimum timeframe
- maxTimeFrames — maximum timeframe
Color settings:
- TimeRangeColor — time range line
- PriceRangeColor — price range line
- PriceMarkColor — price value mark
- GoldenSectionColor — golden section line
Update 2015.06.26:
- Input Parameters:
- showFibo — show golden section
- init_YesterdayFibo, init_LastWeekFibo — indicator initialization complete. Limit index is only initialized once, if the date has not changed, it's easy to change the target object, such as increase the proportion of modified golden ratio.
- Added description information(OBJPROP_TEXT) for an object.
YesterdayFibo on AUDUSDPro M30:
LastWeekFibo on AUDUSDPro H4:
Translated from Chinese by MetaQuotes Ltd.
Original code: https://www.mql5.com/zh/code/13256
![Daily Balance Sheet](https://c.mql5.com/i/code/indicator.png)
This indicator allows you to plan your financial balance.
![LacusTstopandBE](https://c.mql5.com/i/code/expert.png)
This Expert Advisor places Stop Loss and Take Profit for Buy, Sell, Buy Limit, Buy Stop, Sell Limit and Sell Stop orders.
![Trade History Export to CSV](https://c.mql5.com/i/code/indicator.png)
Exports CSV file to analyze trade history for a symbol.
![Log4mql](https://c.mql5.com/i/code/library.png)
Log4mql is an MQL4 library for flexible logging to files and the terminal console. It is modeled after the Log4j Java library.