Discussions
»
Product and Service Development
»
Formula Assistance
»
se il segnale è +1 come faccio a reindirizzarlo a -1 ?
Rank: Member
Groups: Registered, Registered Users, Subscribers Joined: 8/23/2007(UTC) Posts: 25
|
if i have this signal
if (cross (c, mov (c, 50, s), +1, -1)
if I have the signal to +1 how do I filter the signal so that the next is only the -1 and does not reduce repeat the same signal?
|
|
|
|
Rank: Advanced Member
Groups: Registered, Registered Users, Subscribers Joined: 10/29/2004(UTC) Posts: 1,394 Location: Glastonbury, CT
Was thanked: 2 time(s) in 2 post(s)
|
You only have 1 condition that Metastock is looking for
If(Cross(C,Mov(C,50,S),1, If(Cross(Mov(C,50,S),C),-1,0));
this will plot +1 for buy signals and -1 for sell signals and 0 for all of the rest
|
|
|
|
Rank: Member
Groups: Registered, Registered Users, Subscribers Joined: 8/23/2007(UTC) Posts: 25
|
ok this is right, but if such occurs 4-5 times the first option I plots the semppre +1 I wish I Plotti only once after I Plotti +1 and the -1 once in a way that is always +1 and then -1 +1 -1 then
|
|
|
|
Users browsing this topic |
Guest (Hidden)
|
Discussions
»
Product and Service Development
»
Formula Assistance
»
se il segnale è +1 come faccio a reindirizzarlo a -1 ?
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.