Discussions
»
Product and Service Development
»
Formula Assistance
»
Help please! How to enter the code in this indicator?
Rank: Newbie
Groups: Registered, Registered Users Joined: 12/16/2005(UTC) Posts: 5
|
I have problem with this one. I want to create a new indicator. So, after choosing "Indicator Builder" I have choosen "New indicator' and I have put the first line of code in the "Formula space" . So far, it's ok. But I have a problem with the unfamiliar "Fml code" that I should introduce in the formula. How I do that?
I use Metastock 10 and here is the formula:
STARC BAND Formula = (Mov(Typical(),5,S))
Starc Upper Band: Fml( "STARC BAND" )+ (ATR(15)*1.33)
Starc Lower Band: Fml( "STARC BAND" )-(ATR(15)*1.33)
I have tried different ways and I cannot get any good results. I know that I'm doing something wrong but what?
|
|
|
|
Rank: Advanced Member
Groups: Registered, Registered Users Joined: 8/13/2005(UTC) Posts: 170
Thanks: 7 times
|
Satie,
Your code ,
STARC BAND := (Mov(Typical(),5,S));
STAR Band;{ should have a ":" before "=" and ";" at line end.}Name this as say Star Band.
Now open another new from indicator builder and after a blank click you will find "Function" button at below right ,when you click on that you will find all your formulas are there.Select Star Band from there you will find it will write itself as fml.This is the method of recalling another code in your present code.
Asish
|
|
|
|
Rank: Member
Groups: Registered, Registered Users Joined: 12/11/2005(UTC) Posts: 16 Location: Mexico City
|
try this ;
a:=(Mov(Typical(),5,S))+(ATR(15)*1.33); b:=(Mov(Typical(),5,S))-(ATR(15)*1.33); a;b
------------------------
Original one is
Mov(C,6,S)+(ATR(15)*2); Mov(C,6,S)-(ATR(15)*2); Mov(C,20,E)
|
|
|
|
Users browsing this topic |
Guest (Hidden)
|
Discussions
»
Product and Service Development
»
Formula Assistance
»
Help please! How to enter the code in this indicator?
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.