| / | Forum |
|
frederick
2008.02.28 09:37
Attached is a "Pivots.mq4" file. When applied to a chart, it will draw thin lines for the seven pivots (R3, R2, R1, PP, S1, S2, S3). The resistances are dark red lines, the pivot point line is dark blue, and the support lines are dark green, and they are labelled in the same colors. When applying to a chart, you can change colors and line thicknesses to suit. That is what I did, only I recompiled "Pivot_AllLevels.mq4" to produce the colors mentioned, so that I would not have to manually do so each time I applied the indicator to a chart. You can change the code to produce the colors you want and recompile also. To add this indicator to MT4, download it to your desktop. Go to My Computer?C:/Program Files/MetaTrader4/experts/indicators. With the "indicator" file window open you will see a list of custom indicators to which you will add the one on your desktop that you downloaded from here. To do this, simply put cursor on desktop icon for this download, left click on it an hold, drag the icon onto the open window for the "indicators" file. Release the left click and the icon will now reside with the other custom indicators. If MT4 happens to be open and running, then close and reopen it. Now "Pivots" will appear in the MT4 Navigator under Custom Indicators. To apply it to a chart screen, right click on it and select "attach to chart". A window will open that will allow you to change colors and line thickness before actually applying to chart. That is all there is to it. Hope this helps you. |