NexusFi: Find Your Edge


Home Menu

 





Help requested for MESA MAMA FAMA indicator function


Discussion in EasyLanguage Programming

Updated
      Top Posters
    1. looks_one Lamboo with 6 posts (2 thanks)
    2. looks_two gpw797 with 5 posts (0 thanks)
    3. looks_3 cbritton with 4 posts (2 thanks)
    4. looks_4 ABCTG with 3 posts (4 thanks)
      Best Posters
    1. looks_one ABCTG with 1.3 thanks per post
    2. looks_two Big Mike with 1 thanks per post
    3. looks_3 cbritton with 0.5 thanks per post
    4. looks_4 Lamboo with 0.3 thanks per post
    1. trending_up 27,750 views
    2. thumb_up 10 thanks given
    3. group 5 followers
    1. forum 21 posts
    2. attach_file 0 attachments




 
Search this Thread
  #21 (permalink)
 Lamboo 
Stockholm
 
Experience: Intermediate
Platform: Nanotrader/ tradestaion
Broker: WHS / TS
Trading: EC / SI / ES / BP
Posts: 19 since Mar 2011
Thanks Given: 8
Thanks Received: 5


ABCTG View Post
Lamboo,

the code trades based on the MAMA FAMA relation. When do you want the strategy to buy and when should it sell short?
If you think it only does the opposite, then change the entry condition. Instead of checking for "If FAMA > MAMA then" for a buy change it to "If FAMA < MAMA then". Do the same for the short entry and you have the entry logic reversed.

Regards,
ABCTG



Ok thanks again, that worked! it didnt give good results in the long run though


Reply With Quote
Thanked by:

Can you help answer these questions
from other members on NexusFi?
Would a node-based workflow for automated trading be useful?
Traders Hideout
April FOMC Minutes: Most Divided Fed Since 1992 -- Many …
Traders Hideout
World Cup Opens: USA at 45.5% Tonight as Markets Push Ba …
Prediction Markets & Event Contracts
CFTC Opens First COT Report Review in 20 Years -- Asks W …
Traders Hideout
Irans Answer Due Today: Peace Surges to 33.5%, Invasion …
Prediction Markets & Event Contracts
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
NexusFi site changelog and issues/problem reporting
13 thanks
Darmok and Jalad at Tanagra
3 thanks
Big Mike in Ecuador
1 thanks
30 Sessions
1 thanks
  #22 (permalink)
shanemcdonald28
new york
 
Posts: 355 since Mar 2012
Thanks Given: 665
Thanks Received: 582

This works very nicely on renko charts.

On a .14 renko chart on crude, in multicharts with a 600 stop and 800 profit tgt, it tested very nicely.
With some optimization, it could work very nicely.

I read about FAMA a few weeks ago, but could not find anything in the Multicharts arena.

thanks for posting this code about the FAMA.

It refers to Fractal Adaptive Mov Avg , right ?

oh, and I changed the < > to a crossing signal which works a little better

thanks
shane


Reply With Quote




Last Updated on October 7, 2014


© 2026 NexusFi®, s.a., All Rights Reserved.
Av Ricardo J. Alfaro, Century Tower, Panama City, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada)
All information is for educational use only and is not investment advice. There is a substantial risk of loss in trading commodity futures, stocks, options and foreign exchange products. Past performance is not indicative of future results.
About Us - Contact Us - Site Rules, Acceptable Use, and Terms and Conditions - Downloads - Top
no new posts