I like to use TMA indicator in my Semi-Automated Trading . There how i coded and use it in Robot Multi-Pair-Grid-Overlap v3.1.4.5
PARAMETERS of TMA Signals
TypeTMAFiltre=0; // What type of TMA Filter EA must use : (0=Off) 1 2 3 4 5 6 7 8 (see description below with pictures)
TMA_TimeFrameFast= 60; // Fast timeframe where ea read FastTMA ind (additional Fast parameters use only for TypeTMAFiltre=4 and 8. ). EA Must be attached at TMA_TimeFrameFast= 60 (it will be Visual and Tester TF, for this 4 & 8 types of Double TF TMA EA must be attached and tested only at TimeFrameFast in this case)
TMA_TimeFrameSlow = 60; // Slow timeframe where ea read SlowTMA ind values (1 TF methods only for TypeTMAFiltre=1 2 3 5 6 7). 0=Current TF where EA attached at Chart; 1=M1; 5=M5 15=M15; 30=M30; 60=H1; 240=H4 1440=D1
TMA_HalfLengthFast = 56; // FastTMA ind parameter
TMA_HalfLengthSlow = 224; // SlowTMA ind parameter
TMA_PriceFast = 0; // 0=PRICE_CLOSE ; 1=PRICE_OPEN; 2=PRICE_HIGH; 3=PRICE_LOW; 4=PRICE_MEDIAN (high+low)/2; 5=PRICE_TYPICAL(high+low+close)/3; 6=PRICE_WEIGHTED (high+low+close+close)/4)
TMA_PriceSlow = 0; // 0=PRICE_CLOSE ; 1=PRICE_OPEN; 2=PRICE_HIGH; 3=PRICE_LOW; 4=PRICE_MEDIAN (high+low)/2; 5=PRICE_TYPICAL(high+low+close)/3; 6=PRICE_WEIGHTED (high+low+close+close)/4)
TMA_ATRMultiplierFast = 2.0; // FastTMA ind parameter
TMA_ATRMultiplierSlow = 4.0; // SlowTMA ind parameter
TMA_ATRPeriodFast = 100; // FastTMA ind parameter
TMA_ATRPeriodSlow = 400; // SlowTMA ind parameter
TMA_InterpolateFast = true; // FastTMA ind parameter
TMA_InterpolateSlow = true; // SlowTMA ind parameter
TypeTMAFiltre=1– if price go out TMA Channel – EA will open order to expect price will back inside channel of SlowTMA:
TypeTMAFiltre=2 – if price go out the SlowTMA channel EA will open order to continue this trend – breakout signal (EA trade only outside SlowTMA Chanel) :
TypeTMAFiltre=3– price go out the channel and bar must be closed outside the TMA channel, after this once price move back and touch SlowTMA channel – EA open order to expect price will back inside SlowTMA channel (same direction signal as type1) :
TypeTMAFiltre=4 – Double TF TMA Fast and Slow based at 2 TMA indicaotrs (in tester work from Slow TF). Sell signal once upper band of Fast TMA will be > than upper band of SlowTMA. Buy signal once lower band of FastTMA will be < than lower band of SlowTMA)
TypeTMAFiltre=5– EA use Central line of SlowTMA and compare it with MA. If MA < CentralTMALine its a Buy Signal, if MA > CentralTMALine – its a Sell signal:
TypeTMAFiltre=6– EA compare Current Price with Upper and Lower band + MA with Central Line of SlowTMA indicator. For SELL price must go outside upper band of SlowTMA and MA must be higher Central line of SlowTMA. For BUY price must go down outside lower band of SlowTMA and MA must be lower Central line of SlowTMA:
TypeTMAFiltre=7– Sell signal between Upper and Central line of SlowTMA. Buy Signal between Lower and Central line of SlowTMA indicator. This method do not signal outside TMA bands!
TypeTMAFiltre=8– same entry point as DoubleTF TypeTMAfiltre=4 but it hold and Continue this Signal inside SlowTMA until TypeTMA=4 will not show opposit signal:
TypeTMAFiltre=9 – same entry point as DoubleTF TypeTMAfiltre=4 but it hold and Continue this Signal inside SlowTMA (higher TF) until TypeTMA=4 will not show opposit signal and Price must go out from 2 TMA Chanels outside
TMA-8 Most popular today...tested a lot at Multipair
You can test Robot at DEMO FREE : download
Pictures of 9 TMA Types Entries (illustration):
PARAMETERS of TMA Signals
TypeTMAFiltre=0; // What type of TMA Filter EA must use : (0=Off) 1 2 3 4 5 6 7 8 (see description below with pictures)
TMA_TimeFrameFast= 60; // Fast timeframe where ea read FastTMA ind (additional Fast parameters use only for TypeTMAFiltre=4 and 8. ). EA Must be attached at TMA_TimeFrameFast= 60 (it will be Visual and Tester TF, for this 4 & 8 types of Double TF TMA EA must be attached and tested only at TimeFrameFast in this case)
TMA_TimeFrameSlow = 60; // Slow timeframe where ea read SlowTMA ind values (1 TF methods only for TypeTMAFiltre=1 2 3 5 6 7). 0=Current TF where EA attached at Chart; 1=M1; 5=M5 15=M15; 30=M30; 60=H1; 240=H4 1440=D1
TMA_HalfLengthFast = 56; // FastTMA ind parameter
TMA_HalfLengthSlow = 224; // SlowTMA ind parameter
TMA_PriceFast = 0; // 0=PRICE_CLOSE ; 1=PRICE_OPEN; 2=PRICE_HIGH; 3=PRICE_LOW; 4=PRICE_MEDIAN (high+low)/2; 5=PRICE_TYPICAL(high+low+close)/3; 6=PRICE_WEIGHTED (high+low+close+close)/4)
TMA_PriceSlow = 0; // 0=PRICE_CLOSE ; 1=PRICE_OPEN; 2=PRICE_HIGH; 3=PRICE_LOW; 4=PRICE_MEDIAN (high+low)/2; 5=PRICE_TYPICAL(high+low+close)/3; 6=PRICE_WEIGHTED (high+low+close+close)/4)
TMA_ATRMultiplierFast = 2.0; // FastTMA ind parameter
TMA_ATRMultiplierSlow = 4.0; // SlowTMA ind parameter
TMA_ATRPeriodFast = 100; // FastTMA ind parameter
TMA_ATRPeriodSlow = 400; // SlowTMA ind parameter
TMA_InterpolateFast = true; // FastTMA ind parameter
TMA_InterpolateSlow = true; // SlowTMA ind parameter
TypeTMAFiltre=1– if price go out TMA Channel – EA will open order to expect price will back inside channel of SlowTMA:
TypeTMAFiltre=2 – if price go out the SlowTMA channel EA will open order to continue this trend – breakout signal (EA trade only outside SlowTMA Chanel) :
TypeTMAFiltre=3– price go out the channel and bar must be closed outside the TMA channel, after this once price move back and touch SlowTMA channel – EA open order to expect price will back inside SlowTMA channel (same direction signal as type1) :
TypeTMAFiltre=4 – Double TF TMA Fast and Slow based at 2 TMA indicaotrs (in tester work from Slow TF). Sell signal once upper band of Fast TMA will be > than upper band of SlowTMA. Buy signal once lower band of FastTMA will be < than lower band of SlowTMA)
TypeTMAFiltre=5– EA use Central line of SlowTMA and compare it with MA. If MA < CentralTMALine its a Buy Signal, if MA > CentralTMALine – its a Sell signal:
TypeTMAFiltre=6– EA compare Current Price with Upper and Lower band + MA with Central Line of SlowTMA indicator. For SELL price must go outside upper band of SlowTMA and MA must be higher Central line of SlowTMA. For BUY price must go down outside lower band of SlowTMA and MA must be lower Central line of SlowTMA:
TypeTMAFiltre=7– Sell signal between Upper and Central line of SlowTMA. Buy Signal between Lower and Central line of SlowTMA indicator. This method do not signal outside TMA bands!
TypeTMAFiltre=8– same entry point as DoubleTF TypeTMAfiltre=4 but it hold and Continue this Signal inside SlowTMA until TypeTMA=4 will not show opposit signal:
TypeTMAFiltre=9 – same entry point as DoubleTF TypeTMAfiltre=4 but it hold and Continue this Signal inside SlowTMA (higher TF) until TypeTMA=4 will not show opposit signal and Price must go out from 2 TMA Chanels outside
TMA-8 Most popular today...tested a lot at Multipair
You can test Robot at DEMO FREE : download
Pictures of 9 TMA Types Entries (illustration):
Attachments
-
Type-TMA-1-1030x637.jpg214.4 KB · Views: 16
-
Type-TMA-2-1030x571.jpg183.1 KB · Views: 16
-
Type-TMA-3-1030x577.jpg197.8 KB · Views: 16
-
Type-TMA-4-1030x620.jpg234.3 KB · Views: 16
-
Type-TMA-5-1030x686.jpg289.2 KB · Views: 16
-
Type-TMA-6-1030x561.jpg222 KB · Views: 14
-
Type-TMA-7-1030x555.jpg233.6 KB · Views: 13
-
Type-TMA-8-1030x601.jpg238 KB · Views: 16
Last edited: