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

Notification

Icon
Error

Options
Go to last post Go to first unread
hayseed  
#1 Posted : Saturday, March 18, 2006 3:12:39 PM(UTC)
hayseed

Rank: Advanced Member

Groups: Registered, Registered Users, Subscribers
Joined: 3/7/2005(UTC)
Posts: 1,346

have you ever noticed how the truck often slows down just prior to changing directions.... unless its a women drivin of course, the only newton they know is a fig newton.... preston had posted something along that line awhile back that got me to studyin on it abit.... not women drivers, but the slowin down part.... having just about figured out how to open and close charts, my interest has moved into the coding aspect.... which is pretty addicting.... taking preston's thoughts and the roc of other indicators that slowing down process might be visable.... it helps to apply a ma to that indicator and then copy/paste that ma onto the price chart.... noticed a few interesting quirks right off.... ya know how when applying a moving average the target will change colors... well it won't on the {marilyn's driving} indicator.... not sure why.... reckon meta's smart enough not to hitch a ride.... also when applying a ma it will target the last listed plot only.... lookin at my last line of code, a;b;d , all 3 will plot but the only target available will be 'd'..... of course changing the last line to , d;b;a , will make 'a' the only target.... below should be a first draft of my {{marilyn's driving}} indicator.... with plenty of room for improvment and any thoughts on improving it welcomed.... the first input is simply the indicator being roc'd.... the second input is in case there is a period involved, rsi(14) has one, macd() does not... in the case of macd() having any value in the input is ok cause its not being used anyway..... the 3,4 and 5 inputs are to set your smoothing ma values for all 3 plots.... why 3?, speed and lazy.... perhaps in inverse order.... the colors only match my templates..... the 6'th input is a vain attempt at labeling the first input.... speakin of vain attempts, finally figured out the source of my trading troubles.... newton's 3'rd law, for every action there is an equal and opposite reaction.... painfully translated as, when i buy it goes down and when i sell it goes up......h [code:1:29fcf5ffd4]{marilyn's driving} indi:= Input("indicator name, such as macd or rsi",1,20,1); indpds:=Input("indicator periods such as rsi 14 or rsi 5",1,100,14); pds:= Input("fast roc periods , green",1,100,5); pds2:= Input("medium roc periods , red",1,100,10); pds3:= Input("slow roc periods , blue",1,100,20); blank:=Input("macd,rsi,wilders,mfi,ad,co,buyp,kvo,cci,mass,adx",0,0,0); a:=ROC(If(indi=1,MACD(), If(indi=2,RSI(indpds), If(indi=3,Wilders(C ,indpds ) , If(indi=4,MFI(indpds), If(indi=5,AD(), If(indi=6,CO(), If(indi=7,BuyP(), If(indi=8,KVO(), If(indi=9,CCI(indpds), If(indi=10, Mass(indpds), If(indi=11, ADX(indpds), If(indi=12, CMF(indpds), If(indi=13, Typical() , If(indi=14, WillA(), MP())))))))))))))),pds,$); b:=ROC(If(indi=1,MACD(), If(indi=2,RSI(indpds), If(indi=3,Wilders(C ,indpds ), If(indi=4,MFI(indpds), If(indi=5,AD(), If(indi=6,CO(), If(indi=7,BuyP(), If(indi=8,KVO(), If(indi=9,CCI(indpds), If(indi=10, Mass(indpds), If(indi=11, ADX(indpds), If(indi=12, CMF(indpds), If(indi=13, Typical() , If(indi=14, WillA(), MP())))))))))))))),pds2,$); d:=ROC(If(indi=1,MACD(), If(indi=2,RSI(indpds), If(indi=3,Wilders(C ,indpds ), If(indi=4,MFI(indpds), If(indi=5,AD(), If(indi=6,CO(), If(indi=7,BuyP(), If(indi=8,KVO(), If(indi=9,CCI(indpds), If(indi=10, Mass(indpds), If(indi=11, ADX(indpds), If(indi=12, CMF(indpds), If(indi=13, Typical() , If(indi=14, WillA(), MP())))))))))))))),pds3,$); a;b;d[/code:1:29fcf5ffd4]
Marilyn  
#2 Posted : Saturday, March 18, 2006 5:17:12 PM(UTC)
Marilyn

Rank: Advanced Member

Groups: Registered, Registered Users, Subscribers
Joined: 9/10/2004(UTC)
Posts: 863
Location: Salt Lake City, UT

:) if you think Marilyn's driving is bad in Utah... you should see Marilyn's driving in Florida! :eek: :lol:
Users browsing this topic
Guest (Hidden)
Similar Topics
Re: roc'd, newton's laws and women drivers (Formula Assistance)
by weird 3/18/2006 6:07:41 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.