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

Notification

Icon
Error

Options
Go to last post Go to first unread
Leverage  
#1 Posted : Wednesday, May 4, 2011 1:41:13 PM(UTC)
Leverage

Rank: Advanced Member

Groups: Registered, Registered Users, Subscribers, Unverified Users
Joined: 1/25/2010(UTC)
Posts: 44
Location: Rome, IT

Hi guys, this is the code for the HMA: period:=Input("period",1,200,20); sqrtperiod:=Sqrt(period); Mov(2*Mov(C,period/2,W)-Mov(C,period,W),LastValue(sqrtperiod),W); is it possible to plot the moving average in a color until rise and in an other color when decreases? I try it, but I can't get this result :( TNX
wabbit  
#2 Posted : Thursday, May 5, 2011 1:13:14 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)
You can't colour parts of a indicator; an indicator has only one colour for the entire length of the chart. There are some workarounds though: http://forum.equis.com/forums/thread/28031.aspx
Users browsing this topic
Guest (Hidden)
Similar Topics
Dec 2010 : Trading Indexes with the Hull Moving Average (2010)
by MS Support 1/26/2011 4:30:13 PM(UTC)
Hull Moving Average...DLL or LastValue (Basic Coding Techniques)
by pumrysh 7/4/2007 2:07:21 PM(UTC)
Expert and explorer using Hull Moving average (Formula Assistance)
by stocks_bobby 10/27/2006 12:46:28 AM(UTC)
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.