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

Notification

Icon
Error

Options
Go to last post Go to first unread
Djakarta  
#1 Posted : Sunday, January 16, 2011 12:10:30 PM(UTC)
Djakarta

Rank: Newbie

Groups: Registered, Registered Users
Joined: 1/11/2011(UTC)
Posts: 8

:)
johnl  
#2 Posted : Sunday, January 16, 2011 7:06:59 PM(UTC)
johnl

Rank: Advanced Member

Groups: Registered, Registered Users
Joined: 11/7/2005(UTC)
Posts: 602

You might be able to do a date check: If date is greater than 20110101, then 0 else your
formula. Do a search on this forum for date for syntax.

Djakarta  
#3 Posted : Monday, January 17, 2011 3:40:47 AM(UTC)
Djakarta

Rank: Newbie

Groups: Registered, Registered Users
Joined: 1/11/2011(UTC)
Posts: 8

:)
vienna  
#4 Posted : Monday, January 17, 2011 7:11:57 AM(UTC)
vienna

Rank: Advanced Member

Groups: Registered, Registered Users, Subscribers
Joined: 12/14/2009(UTC)
Posts: 140
Location: Austria

Hi,

try this:

Code:

expiredate:=20110120; {means: year: 2011 , month: 01, day: 20 }

today:=LastValue(DayOfMonth())+100*LastValue(Month())+10000*LastValue(Year());

{example signal - here you should enter your signal formula}
signal:=(Mov(C, 5, S)>Mov(C, 20, S)) - (Mov(C, 5, S)<Mov(C, 20, S)); 

{shows signal only if date is not expired}
If(today<expiredate,signal,0);


Djakarta  
#5 Posted : Monday, January 17, 2011 10:45:32 PM(UTC)
Djakarta

Rank: Newbie

Groups: Registered, Registered Users
Joined: 1/11/2011(UTC)
Posts: 8

hi Vienna thanks very much :(( I've tried & successfully... I really thank you
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.