| New signals service! | |
|
|||||||
| Register in Forex TSD! | |
|
Trading Systems Leaders in this forum (automated trading systems) are winning more than 3000 pips in a month (30000$ investing one lot every time). Click here to register and get more information |
|
![]() |
|
|
LinkBack (1) | Thread Tools | Display Modes |
|
||||
|
MA Candles
As requested let me know if you need anything else done with it - i have included a very simple Comment so you can see the MAs being used.
7/02/2008 Updated code to have shift values under the inputs. MA Candles.mq4 MA.gif Last edited by cja; 02-07-2008 at 08:53 AM. Reason: Updating indicator |
|
|||
|
Quote:
it makes live trading easier.. THANK YOU |
|
||||
|
Alligator settings
Quote:
Just set this indicator to do what you require 1st the PRICE MA this way 1/ MA1 = 1; MAI_MODE = 0; MAI_PRICE = 0; 2nd The ALLIGATOR line this way 2/ MA2 = 5; MA2_MODE = 2; MA2_PRICE = 4; Then go into the code and change this line ( Line 97 Col 4 ) From this double MA_2 (int i = 0){return(iMA(NULL,0,MA1,0,MA1_MODE, MA1_PRICE,i));} Tothis double MA_2 (int i = 0){return(iMA(NULL,0,MA2,3,MA2_MODE, MA2_PRICE,i));} Changing the 0 to 3 will give you the correct shift value for the Alligator line Any problems let me know cja Last edited by cja; 02-07-2008 at 08:44 AM. Reason: Updating info |
|
||||
|
Quote:
I was setup the indicator as per above but some candle is not change in color when it close above or below the gold line like picture below. |
|
||||
|
Alligator
Quote:
with a shift of 3 not 8. NOTE I have altered the indicator inputs so that now the shift can be accessed without going into the code. extern string IIIIIIIIIIIIIIIIIIIII=">>> MA Settings >>>>>>>>>>>>>>>>>"; extern int MA1 = 1; extern int MA2 = 5; extern int MA1_MODE = 0; extern int MA2_MODE = 2; extern int MA1_PRICE = 0; extern int MA2_PRICE = 4; extern int MA1_SHIFT = 0; extern int MA2_SHIFT = 3; |
|
|||
|
what am i doing wrong
Thanks a lot for the indicator cja. It should definitely be very very helpful. But if you look at the attached pic, I have put in the MA levels I am using in the indicator. As you can see, there seems to be something wrong. Looking forward to your reply.
REgards, K. |
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|
LinkBacks (?)
LinkBack to this Thread: http://www.forex-tsd.com/indicators-metatrader-4/12212-ma-candles.html
|
||||
| Posted By | For | Type | Date | |
| World of Forex Trading » MA Candles | This thread | Pingback | 02-06-2008 09:18 AM | |
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Candles | newdigital | Indicators - Metatrader 4 | 79 | 08-29-2008 09:53 PM |
| CCI Candles | cja | Indicators - Metatrader 4 | 19 | 05-23-2008 04:15 PM |
| WPR Candles | cja | Indicators - Metatrader 4 | 4 | 09-20-2007 09:32 PM |
| Stochastics Candles indicator needed | hacsat | Indicators - Metatrader 4 | 0 | 07-22-2007 06:14 AM |