Welcome to Forex-TSD!, one of the largest Forex forums worldwide, where you will be able to find the most complete and reliable Forex information imaginable.
From the list below, select the forum that you want to visit and register to post, as many times you want. It’s absolutely free. Click here for registering on Forex-TSD.
Exclusive Forum
The Exclusive Forum is the only paid section. Once you subscribe, you will get free access to real cutting-edge Trading Systems (automated and not), Indicators, Signals, Articles, etc., that will help and guide you, in ways that you could only imagine, with your Forex trading.
Elite Section
Get access to private discussions, specialized support, indicators and trading systems reported every week.
Advanced Elite Section
For professional traders, trading system developers and any other member who may need to use and/or convert, the most cutting-edge exclusive indicators and trading systems for MT4 and MT5.
Does anyone have an Adaptive Moving Average with PRICE input (High, Low, etc.)? Am working on a promising double AMA cross Expert Advisor optimized in TradeStation. Thanks for your help. Les
Hi ,
this is what i have.Try to search on the forum i think there is more adaptiv moving average indicators here.
would you mind to post that system you want to make an EA for please.
All I can give you are the parameters of the system at this time. It was backtested over 40 months on 15 minute bars on the GBPUSD and got $4.3 million in profit.
MAAXMAA - Price1 Low
MAAXMAA - EffRatioLength1 5
MAAXMAA - FastAvgLength1 17
MAAXMAA - SlowAvgLength1 10
MAAXMAA - Price High
MAAXMAA - EffRatioLength 6
MAAXMAA - FastAvgLength 5
MAAXMAA - SlowAvgLength 45
MAAXMAA - StartBal 20000
MAAXMAA - CommisPerMini Low 0
It was set to Buy and Sell on the crosses with no stops or take profit. Since TradeStation has no hedging within a currency pair, each Buy would close each Sell order and vise versa.
How will the following work for Price and does it also need to be written into the indicator separately?
//---- input parameters
extern int Price = 0; //Apply to Price(0-Close;1-Open;2-High;3-Low;4-Median price;5-Typical price;6-Weighted Close)
Thanks, Les
i don't know mq4 ,just a little but i think you should ask some expirienced coders like Codersguru (he also know tradestation easy lang) or linuxer,cja...
I don't know what are those setings from TS code.
Try to send PM (private message) to Codersguru because they could skip reading this thread.
You can also post the hole code from TS for AMA and they can translate it here.
If MAA1 Crosses Under MAA Then
Buy NumMiniLots contracts Next Bar at market;
If MAA1 Crosses Over MAA Then
Sell Short NumMiniLots contracts Next Bar at market;
Trades were made on a standard account using full size lots limited to 100. There needs to be Maximum Risk configurable in the EA and the EA also needs to be Take Profit, Hard Stop and Trailing Stop capable. There is also supposed to be code associated with the AMA that allows it to optimize it's numerical values as it is in a live forward trading mode.
Thanks for your help. Les
Have noticed in your settings that FastAvgLength1( 17 ) is greater than SlowAvgLength1( 10 ).
I guess that it is not intended to use the indicator like that. Do you know what is the behaviour of the indicator in this case?
Here is a new TS report that got $768K in 6 months on 30 minute bars. Numbers don't hold up on longer time frames, but can be obtained through optimization.