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

Notification

Icon
Error

Options
Go to last post Go to first unread
indexarb  
#1 Posted : Monday, March 12, 2012 11:19:47 AM(UTC)
indexarb

Rank: Advanced Member

Groups: Registered, Registered Users, Subscribers
Joined: 3/12/2012(UTC)
Posts: 44

Hi I have 2 indicators for the same security 1 min and 5 min The indicators output a -1 for short 0 for flat 1 for long is there anyway to have a formula that says if the 1 min indicator is 1 and the 5 min is 1 then the combined indicator is 1, if the 1 min is -1 and the 5 min is -1 then the combined indicator is -1, else the combined indicator is 0 what chart would be shown on if it can be done? thanks mehul
mstt  
#2 Posted : Monday, March 12, 2012 12:53:18 PM(UTC)
mstt

Rank: Advanced Member

Groups: Registered, Registered Users, Subscribers
Joined: 7/25/2005(UTC)
Posts: 1,042

Was thanked: 57 time(s) in 54 post(s)
Hi Mehul

Indicators designed for a particular timeframe (5 minutes) cannot plot on a higher timeframe chart (10 minute bars), but should be able to plot on a shorter or equal timeframe charts (tick, 1 or 5 minute bars).

There are ways to do most things in MetaStock but it helps if you have access to the code you're trying to manipulate. Without access your choices are more limited.

Henry mentioned that the higher timeframe indicator could be dynamic in nature. That may be the case with some higher timeframe indicators but my range of Multi-Frame indicators give the user dynamic, static or delayed options.

Roy


indexarb  
#3 Posted : Monday, March 12, 2012 2:25:19 PM(UTC)
indexarb

Rank: Advanced Member

Groups: Registered, Registered Users, Subscribers
Joined: 3/12/2012(UTC)
Posts: 44

Can you apply a 5 min indicator to a 1 min chart? also would this be a new indicator that looks at the 1 and 5 min indicators? i am using an external piece of software and do not have access to the code just the indicators here is the formula for the 1 and 5 min, so how would i use this as a combined indicator? 1 min if((Sum(Mov(C-Ref(C,-1),12,S),5)-Ref(Sum(Mov(C-Ref(C,-1),12,S),5),-1)>0) And (Sum(Mov(C-Ref(C,-1),8,S),8)-Ref(Sum(Mov(C-Ref(C,-1),8,S),8),-1)>0) And (Sum(Mov(C-Ref(C,-1),9,S),7)-Ref(Sum(Mov(C-Ref(C,-1),9,S),7),-1)>0) And (Sum(Mov(C-Ref(C,-1),7,S),4)-Ref(Sum(Mov(C-Ref(C,-1),7,S),4),-1)>0) And ((Mov(C-Ref(C,-1),5,S)>(-1)*Mov(C-Ref(C,-1),6,S)) And (Mov(C-Ref(C,-1),6,S)>(-1)*Mov(C-Ref(C,-1),3,S))) And ((Mov(C-Ref(C,-1),6,S)>(-1)*Mov(C-Ref(C,-1),10,S)) And (Mov(C-Ref(C,-1),6,S)>(-1)*Mov(C-Ref(C,-1),5,S))) ,1,if((Sum(Mov(C-Ref(C,-1),12,S),8)-Ref(Sum(Mov(C-Ref(C,-1),12,S),8),-1){SUM_RANGE=3-12, MOV_RANGE=3-12} 5 min if((Sum(Mov(C-O,7,S),9)-Ref(Sum(Mov(C-O,7,S),9),-1)>0) And (Sum(Mov(C-O,11,S),3)-Ref(Sum(Mov(C-O,11,S),3),-1)>0) And (Sum(Mov(C-O,8,S),3)-Ref(Sum(Mov(C-O,8,S),3),-1)>0) And (Sum(Mov(C-O,5,S),7)-Ref(Sum(Mov(C-O,5,S),7),-1)>0) And ((Mov(C-O,7,S)>(-1)*Mov(C-O,6,S)) And (Mov(C-O,6,S)>(-1)*Mov(C-O,12,S))) And ((Mov(C-O,5,S)>(-1)*Mov(C-O,3,S)) And (Mov(C-O,11,S)>(-1)*Mov(C-O,6,S))) ,1,if((Sum(Mov(C-O,8,S),8)-Ref(Sum(Mov(C-O,8,S),8),-1){SUM_RANGE=3-12, MOV_RANGE=3-12} thanks in advance ....
wabbit  
#4 Posted : Monday, March 12, 2012 7:21:38 PM(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)
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.