Thread: Vegas
View Single Post
  #6 (permalink)  
Old 12-07-2005, 06:11 PM
newdigital newdigital is offline
Administrator
 
Join Date: Sep 2005
Posts: 16,311
Blog Entries: 106
newdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud of
Thanks Volan.

The last link:

Quote:
Description
===========

This implementation of the new 4 Vegas system for MT4 is organised as follows:

4hVegasMetaTraderWeeklyChart.mq4 (Optional)
-------------------------------------------
Places the Moving average lines on the Weekly chart. It does not produce any calculations, only visualises the MA lines for information purposes.
The green line in the main window is the EMA21 and the blue line is the SMA5.


4hVegasMetaTraderWeeklyIndicator.mq4 (Mandatory)
------------------------------------------------
Calculates the trend according to the divergence of the SMA5 and EMA21. Publishes a weekly variable of the trend to be used in the 4h chart. The variable is calculated from Sunday to Sunday.

The blue line in the child window is the difference between the SMA5 and the EMA21. The Green and Red histogram bars are the *change* since the last measurement. If the bar is green, the week is a bull week, if the bar is red, the week is a bear week.


4hVegasMetaTrader4hCTD.mq4 (Optional)
-------------------------------------
Shows the state of the weekly trend variable in the child window on the 4hour chart. For information only.


4hVegasMetaTrader4hChart.mq4 (Mandatory)
----------------------------------------
Uses the weekly variable to confirm the direction of the trade, and then enters or exits based on the MA crossovers.

On the ENTRY the brackets show the entry price, on EXIT, the brackets hold the P/L


Using it
========

1) Open a weekly chart. Place the "4hVegasMetaTraderWeeklyIndicator.mq4" (and optionally "4hVegasMetaTraderWeeklyChart.mq4") on it
2) Open a 4H chart for the same symbol. Place "4hVegasMetaTrader4hChart.mq4" (and optionally "4hVegasMetaTrader4hCTD.mq4") on it.
3) Use the "PrintTags" option to print trade information - beware there is lots and without a good monitor you will not see much!

Thanks and credit to go to the Vegas team.
Reply With Quote