logo
Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
immak  
#1 Posted : Saturday, January 7, 2017 4:30:30 PM(UTC)
immak

Rank: Newbie

Groups: Registered Users, Subscribers
Joined: 1/7/2017(UTC)
Posts: 1

Hello friends any one can explain given formulas in simple words i am very thank full to you ,

 

 

Buy Long: 
b:=Fml("BBTK - %b"); 
BL:=(b>.8 AND MFI(10)>80); 
SS:=(b<.2 AND MFI(10)<20); 
EL:=Cross(Mov(C,20,S),C); 
ES:=Cross(C,Mov(C,20,S)); 
State:=If(Cum(1)=1,0,If(BL,1,If(SS,-1,If((EL AND PREV=1) OR (ES AND PREV=-1),0,PREV)))); 
State=1 AND Ref(State,-1)<1; 
 

Sell Short: 
b:=Fml("BBTK - %b"); 
BL:=(b>.8 AND MFI(10)>80); 
SS:=(b<.2 AND MFI(10)<20); 
EL:=Cross(Mov(C,20,S),C); 
ES:=Cross(C,Mov(C,20,S)); 
State:=If(Cum(1)=1,0,If(BL,1,If(SS,-1,If((EL AND PREV=1) OR (ES AND PREV=-1),0,PREV)))); 
State=-1 AND Ref(State,-1)>-1; 

 

 
Exit Long: 
b:=Fml("BBTK - %B"); 
BL:=(b>.8 AND MFI(10)>80); 
SS:=(b<.2 AND MFI(10)<20); 
EL:=Cross(Mov(C,20,S),C); 
ES:=Cross(C,Mov(C,20,S)); 
State:=If(Cum(1)=1,0,If(BL,1,If(SS,-1,If((EL AND PREV=1) OR (ES AND PREV=-1),0,PREV)))); 
(State=0) AND (Ref(State,-1)=1); 

 
Exit Short: 
b:=Fml("BBTK - %B"); 
BL:=(b>.8 AND MFI(10)>80); 
SS:=(b<.2 AND MFI(10)<20); 
EL:=Cross(Mov(C,20,S),C); 
ES:=Cross(C,Mov(C,20,S)); 
State:=If(Cum(1)=1,0,If(BL,1,If(SS,-1,If((EL AND PREV=1) OR (ES AND PREV=-1),0,PREV)))); 
(State=0) AND (Ref(State,-1)=-1);

wabbit  
#2 Posted : Sunday, January 8, 2017 5:03:26 AM(UTC)
wabbit

Rank: Advanced Member

Groups: Registered, Registered Users, Subscribers, Unverified Users
Joined: 10/28/2004(UTC)
Posts: 3,111
Location: Perth, Western Australia

Was thanked: 16 time(s) in 16 post(s)
There are four conditions, buy long, buy short, exit long and exit short; they are triggered by their respective conditions. The "state" is a latch which restricts which new signals can be actioned after a preceding signal e.g. you ignore exit signals if not already in a trade. wabbit :D
marti80  
#3 Posted : Wednesday, January 25, 2017 12:14:41 PM(UTC)
marti80

Rank: Newbie

Groups: Registered, Registered Users, Subscribers
Joined: 9/25/2009(UTC)
Posts: 9

Please what indicator is : Fml("BBTK - %b)?

wabbit  
#4 Posted : Saturday, January 28, 2017 2:34:10 AM(UTC)
wabbit

Rank: Advanced Member

Groups: Registered, Registered Users, Subscribers, Unverified Users
Joined: 10/28/2004(UTC)
Posts: 3,111
Location: Perth, Western Australia

Was thanked: 16 time(s) in 16 post(s)
It's a call from the indicator to another indicator called "BBTK - %b". I am going to guess it's a function in the Bollinger Band Toolkit Meatstock add-on.
Users browsing this topic
Guest (Hidden)
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.