Learning to Code from TRO. That's what I think when I play with his cool indicators.
I could not find a TRO version, but I probably just missed it. So I took a public released TRO multi-meter that did keyreversal and changed it to be moving averages.
You can of course change the type of MA and the time frame
If you have the donationals, you can mod a dashboard as follows (I can't post the Dashbaord since it is donatonal):
EXTERNALS at the top:
extern string notetype = "0=SMA,1=EMA,2=SMMA,3=LWMA" ;
extern int MAType = 1;
extern int maPeriod = 17;
Then mod the subroutine:
void DoWork( string myPair, int TimeFrame )
{
// Define the variables That are unique to this test
double MA0,MA1;
MA0 = iMA(myPair, TimeFrame,maPeriod,0,MAType,PRICE_CLOSE,0) ;
MA1 = iMA(myPair, TimeFrame,maPeriod,0,MAType,PRICE_CLOSE,1) ;
Bull = MA0 > MA1;
Bear = MA0 < MA1;
if ( Bull ) {thevalue = ArrowHeadUp ; theColor = UpColor ; } else
if ( Bear ) {thevalue = ArrowHeadDn ; theColor = DnColor ; }
else {thevalue = ArrowHeadRt ; theColor = NoSignalColor ; }
}
MA multimeter
Moderator: moderators
- noushina
- rank: 50+ posts
- Posts: 147
- Joined: Fri Sep 25, 2009 10:50 pm
- Reputation: 0
- Location: Fukushima Japan
- Gender:
MA multimeter
- Attachments
-
- MA multi-meter.mq4
- (7.76 KiB) Downloaded 232 times
Please add www.kreslik.com to your ad blocker white list.
Thank you for your support.
Thank you for your support.
- bredin
- rank: 1000+ posts
- Posts: 1033
- Joined: Mon Feb 16, 2009 10:41 pm
- Reputation: 7
- Gender:
- Contact:
Welcome to the ranks of the "cut and paste" coders!
G.
G.
Welcome to the era of "Guns and Maskies" Trading!
The previous message contains discretion. Viewer nudity is advised.
Insanity Industries Indicators Here
Insanity Industries on YouTube!
The previous message contains discretion. Viewer nudity is advised.
Insanity Industries Indicators Here
Insanity Industries on YouTube!
- TheRumpledOne
- rank: 10000+ posts
- Posts: 15544
- Joined: Sun May 14, 2006 9:31 pm
- Reputation: 3035
- Location: Oregon
- Real name: Avery T. Horton, Jr.
- Gender:
- Contact:
Humble wrote:Did you use TRO_MM_Maxover?
He said, " So I took a public released TRO multi-meter that did keyreversal and changed it to be moving averages. "
I also cut and paste.
IT'S NOT WHAT YOU TRADE, IT'S HOW YOU TRADE IT!
Please do NOT PM me with trading or coding questions, post them in a thread.
Please do NOT PM me with trading or coding questions, post them in a thread.
Please add www.kreslik.com to your ad blocker white list.
Thank you for your support.
Thank you for your support.