Rank: Member
Groups: Registered, Registered Users Joined: 5/22/2012(UTC) Posts: 19
|
Hi,
Can you help me to code this with formula metastock:
If(dayofmonth()=5,high,??????????)
i don't like to plot anything if dayofmonth is different from 5.
|
|
|
|
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)
|
ValueWhen(1,dayofmonth()=5,H)
|
|
|
|
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)
|
ClaudeBrunet wrote:Hi,
Can you help me to code this with formula metastock:
If(dayofmonth()=5,high,??????????)
i don't like to plot anything if dayofmonth is different from 5. With MS, once an indicator (or a variable within an indicator) starts returning values, then it has to keep returning values until "switched off"; but if switched off then it cannot be switched back on again; much to just about everyone's chagrin, there are no NULL returns in MS (except for some N/A errors) So, you have to plot something... even if it's zero and the use Roy's ValueWhen(1,0,1) trick to avoid rescaling the price axis. wabbit [:D]
|
|
|
|
Rank: Member
Groups: Registered, Registered Users Joined: 5/22/2012(UTC) Posts: 19
|
thanks for your replay
it's work fine
|
|
|
|
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.