Can I get the script of this Indicator? - ThinkOrSwim | futures io social day trading
futures io futures trading


Can I get the script of this Indicator?
Updated: Views / Replies:2,754 / 8
Created: by khalid alshalan Attachments:0

Welcome to futures io.

(If you already have an account, login at the top of the page)

futures io is the largest futures trading community on the planet, with over 90,000 members. At futures io, our goal has always been and always will be to create a friendly, positive, forward-thinking community where members can openly share and discuss everything the world of trading has to offer. The community is one of the friendliest you will find on any subject, with members going out of their way to help others. Some of the primary differences between futures io and other trading sites revolve around the standards of our community. Those standards include a code of conduct for our members, as well as extremely high standards that govern which partners we do business with, and which products or services we recommend to our members.

At futures io, our focus is on quality education. No hype, gimmicks, or secret sauce. The truth is: trading is hard. To succeed, you need to surround yourself with the right support system, educational content, and trading mentors Ė all of which you can find on futures io, utilizing our social trading environment.

With futures io, you can find honest trading reviews on brokers, trading rooms, indicator packages, trading strategies, and much more. Our trading review process is highly moderated to ensure that only genuine users are allowed, so you donít need to worry about fake reviews.

We are fundamentally different than most other trading sites:
  • We are here to help. Just let us know what you need.
  • We work extremely hard to keep things positive in our community.
  • We do not tolerate rude behavior, trolling, or vendors advertising in posts.
  • We firmly believe in and encourage sharing. The holy grail is within you, we can help you find it.
  • We expect our members to participate and become a part of the community. Help yourself by helping others.

You'll need to register in order to view the content of the threads and start contributing to our community.  It's free and simple.

-- Big Mike, Site Administrator

Reply
 
Thread Tools Search this Thread
 

Can I get the script of this Indicator?

  #1 (permalink)
Trading Apprentice
Riyadh SaudiArabia
 
Futures Experience: Advanced
Platform: THINKORSWIM
Favorite Futures: stocks
 
Posts: 7 since Mar 2014
Thanks: 0 given, 0 received

Can I get the script of this Indicator?

hi dears ,

On the THINKORSWIM Platform , I tried to find a script of the (COG) Center Of Gravity Indicator or any similar indicator but i could not find any one ... Can I get help ?







thanks alot

Reply With Quote
 
  #2 (permalink)
Elite Member
Netherlands
 
Futures Experience: Intermediate
Platform: multicharts
Broker/Data: Interactive Brokers
Favorite Futures: Stocks
 
Posts: 7 since Aug 2012
Thanks: 2 given, 9 received

No code, just some explanation

can be found here: Investor/RT Tour - Center Of Gravity (COG)

Reply With Quote
 
  #3 (permalink)
Trading Apprentice
Riyadh SaudiArabia
 
Futures Experience: Advanced
Platform: THINKORSWIM
Favorite Futures: stocks
 
Posts: 7 since Mar 2014
Thanks: 0 given, 0 received


thanks , but this will not work on THINKORSWIM

Reply With Quote
 
  #4 (permalink)
Trading Apprentice
Riyadh SaudiArabia
 
Futures Experience: Advanced
Platform: THINKORSWIM
Favorite Futures: stocks
 
Posts: 7 since Mar 2014
Thanks: 0 given, 0 received

i will put a chart of that indicator

Reply With Quote
 
  #5 (permalink)
Trading Apprentice
Riyadh SaudiArabia
 
Futures Experience: Advanced
Platform: THINKORSWIM
Favorite Futures: stocks
 
Posts: 7 since Mar 2014
Thanks: 0 given, 0 received

it is really amaizing thats why I'm looking for it

Reply With Quote
 
  #6 (permalink)
Elite Member
Trubchevsk
 
Futures Experience: Beginner
Platform: tos
Favorite Futures: stocks
 
Posts: 48 since May 2011
Thanks: 34 given, 64 received

Here it is khalid

 
Code
                            
#VM_Ehlers_COG

#by growex
declare lower;
input Price hl2;
Input Length 10;
def Num fold i=0 to length -1 with n do
+ (i)*getvalue(price,i,length-1);
def Denom fold j=0 to length -1 with k do
getvalue(price,j,length-1);
Def CG = if denom <> 0 then -Num/Denom else double.NaN;
plot cgline cg;
plot trigger cgline[1]; 

Reply With Quote
The following 2 users say Thank You to growex for this post:
 
  #7 (permalink)
Trading Apprentice
Riyadh SaudiArabia
 
Futures Experience: Advanced
Platform: THINKORSWIM
Favorite Futures: stocks
 
Posts: 7 since Mar 2014
Thanks: 0 given, 0 received


growex View Post
Here it is khalid

 
Code
                            
#VM_Ehlers_COG
#by growex
declare lower;
input Price hl2;
Input Length 10;
def Num fold i=0 to length -1 with n do
+ (i)*getvalue(price,i,length-1);
def Denom fold j=0 to length -1 with k do
getvalue(price,j,length-1);
Def CG = if denom <> 0 then -Num/Denom else double.NaN;
plot cgline cg;
plot trigger cgline[1]; 


thank you very much for your concern ,

what I want is the one that will be with the candles ( on the chart up not down ) I have the code that work only in Amibroker program , the code is :

/ COG: Center of Gravity indicator
// AFL code by E.M.Pottasch, 2011


sx=Null;b=Null;ai=Null;x=Null;
reg=x1=x2=x3=z1=z2=z3=Null;
rega=x1a=x2a=x3a=z1a=z2a=z3a=Null;

bi=BarIndex();
eb=LastValue(bi);
order=Param("n-th Order",3,1,8,1);
bars=Param("Lookback Period",100,50,500,1);
sv=ParamToggle("Use Selected Value","Off|On",1);
alt=ParamToggle("Error Levels","Fibonacci|Standard",0);
ecart=1.61803399;

if(sv)
{
eb=SelectedValue(bi);
bb=Max(0,eb-bars);
}
else
{
bb=Max(0,eb-bars);
}
fin=eb;
nn=order+1;
sx[1]=bars+1;

if(fin>bars)
{
for(mi=1;mi<=2*nn-2;mi++)
{
suml=0;
for(n=0;n<=bars;n++)
{
suml=suml+n^mi;
}
sx[mi+1]=suml;
}
for(mi=1;mi<=nn;mi++)
{
suml=0;
for(n=0;n<=bars;n++)
{
if (mi==1)
suml=suml+Close[fin-n];
else
suml=suml+Close[fin-n]*n^(mi-1);
b[mi]=suml;
}
}
for(jj=1;jj<=nn;jj++)
{
for(ii=1;ii<=nn;ii++)
{
kk=ii+jj-1;
ai[(ii-1)*nn+jj]=sx[kk];
}
}
for(kk=1;kk<=nn-1;kk++)
{
ll=0;
mm=0;
for(ii=kk;ii<=nn;ii++)
{
if(abs(ai[(ii-1)*nn+kk])>mm)
{
mm=abs(ai[(ii-1)*nn+kk]);
ll=ii;
}
}
if(ll==0) break;
if(ll!=kk)
{
for(jj=1;jj<=nn;jj++)
{
tt=ai[(kk-1)*nn+jj];
ai[(kk-1)*nn+jj]=ai[(ll-1)*nn+jj];
ai[(ll-1)*nn+jj]=tt;
}
tt=b[kk];
b[kk]=b[ll];
b[ll]=tt;
}
for(ii=kk+1;ii<=nn;ii++)
{
qq=ai[(ii-1)*nn+kk]/ai[(kk-1)*nn+kk];
for(jj=1;jj<=nn;jj++)
{
if(jj==kk)
ai[(ii-1)*nn+jj]=0;
else
ai[(ii-1)*nn+jj]=ai[(ii-1)*nn+jj]-qq*ai[(kk-1)*nn+jj];
}
b[ii]=b[ii]-qq*b[kk];
}
}
x[nn]=b[nn]/ai[nn*nn];
for(kk=1;kk<=nn-1;kk++)
{
tt=0;
ii=nn-kk;
for(jj=1;jj<=nn-ii;jj++)
{
tt=tt+ai[(ii-1)*nn+ii+jj]*x[ii+jj];
if(ai[(ii-1)*nn+ii]!=0)
x[ii]=(b[ii]-tt)/ai[(ii-1)*nn+ii];
}
}
for(n=0;n<=bars;n++)
{
suml=0;
for(kk=1;kk<=order;kk++)
{
suml=suml+x[kk+1]*n^kk;
}
reg[fin-n]=x[1]+suml;
}
}
SetChartOptions(0, chartShowDates);
Title = "Symbol: "+ Name()+ "\nPoly Order: "+order;
if(alt)
{
dev=StDev(Close-reg,bars);
sd=dev[fin];
x1a=reg+sd*1;//68%
x2a=reg+sd*2;//95%
x3a=reg+sd*3;//99.83%
z1a=reg-sd*1;
z2a=reg-sd*2;
z3a=reg-sd*3;
Plot(C, "Close",colorLightGrey,styleCandle);
Plot(reg,"reg",colorBlue,1);
Plot(x3a,"x3a",ColorRGB(255,0,0),styleThick);
Plot(x2a,"x2a",ColorRGB(255,100,100),styleDashed);
Plot(x1a,"x1a",ColorRGB(255,200,200),styleDashed);
Plot(z3a,"z3a",ColorRGB(0,255,0),styleThick);
Plot(z2a,"z2a",ColorRGB(100,255,100),styleDashed);
Plot(z1a,"z1a",ColorRGB(200,255,200),styleDashed);
PlotOHLC(x3a,x3a,x1a,x1a,"",ColorRGB(30,0,0),styleCloud|styleNoLabel,0,0,0,-1);
PlotOHLC(z1a,z1a,z3a,z3a,"",ColorRGB(0,30,0),styleCloud|styleNoLabel,0,0,0,-1);
}
else
{
dev=StDev(Close,bars);
sd=ecart*dev[fin];
x1=reg+sd/(1.382*1.618);
x2=reg+sd/1.382;
x3=reg+sd;
z1=reg-sd/(1.382*1.618);
z2=reg-sd/1.382;
z3=reg-sd;
Plot(C, "Close",colorLightGrey,styleCandle);
Plot(reg,"reg",colorBlue,1);
Plot(x3,"x3",ColorRGB(255,0,0),styleThick);
Plot(x2,"x2",ColorRGB(255,100,100),styleDashed);
Plot(x1,"x1",ColorRGB(255,200,200),styleDashed);
Plot(z3,"z3",ColorRGB(0,255,0),styleThick);
Plot(z2,"z2",ColorRGB(100,255,100),styleDashed);
Plot(z1,"z1",ColorRGB(200,255,200),styleDashed);
PlotOHLC(x3,x3,x2,x2,"",ColorRGB(30,0,0),styleCloud|styleNoLabel,0,0,0,-1);
PlotOHLC(z2,z2,z3,z3,"",ColorRGB(0,30,0),styleCloud|styleNoLabel,0,0,0,-1);
}

==========

I will put a Chart that will illustrate what I mean ,, Next reply.

Reply With Quote
 
  #8 (permalink)
Trading Apprentice
Riyadh SaudiArabia
 
Futures Experience: Advanced
Platform: THINKORSWIM
Favorite Futures: stocks
 
Posts: 7 since Mar 2014
Thanks: 0 given, 0 received

it will be like this lines among the candles :

Please register on futures.io to view futures trading content such as post attachment(s), image(s), and screenshot(s).

Reply With Quote
 
  #9 (permalink)
Elite Member
Trubchevsk
 
Futures Experience: Beginner
Platform: tos
Favorite Futures: stocks
 
Posts: 48 since May 2011
Thanks: 34 given, 64 received


khalid alshalan View Post
it will be like this lines among the candles :

Please register on futures.io to view futures trading content such as post attachment(s), image(s), and screenshot(s).

aha...there's some confusion between theese two indoicators because of the same name...The one i've posted above is Center of Gravity developed by John Ehlers....
The one you showed also named Center of Gravity but it is totally different than previous one....
I'll see what i can do for you

Also here's some information about the indicator Khalid asked for: Trading With Center Of Gravity Indicator on Stochastic | Brooky Indicators

My Thanks for kind canadian guy who provided me the live ToS account. Now i'm with little hobby again

Reply With Quote
The following user says Thank You to growex for this post:

Reply



futures io > > > > Can I get the script of this Indicator?

Thread Tools Search this Thread
Search this Thread:

Advanced Search



Upcoming Webinars and Events (4:30PM ET unless noted)

Jigsaw Trading: TBA

Elite only

FuturesTrader71: TBA

Elite only

NinjaTrader: TBA

Jan 18

RandBots: TBA

Jan 23

GFF Brokers & CME Group: Futures & Bitcoin

Elite only

Adam Grimes: TBA

Elite only

Ran Aroussi: TBA

Elite only
     

Similar Threads
Thread Thread Starter Forum Replies Last Post
Ninja indicator script error maxwelltrader NinjaTrader 2 January 30th, 2013 05:16 PM
Help with adding new code to existing oscillator indicator script kendallw4 NinjaTrader Programming 3 June 9th, 2011 07:38 PM
Referencing an indicator setting within a strategy script ktmdave NinjaTrader Programming 7 April 28th, 2011 01:48 AM
Looking for this script or indicator. rh017548 NinjaTrader Programming 3 May 16th, 2010 08:00 PM


All times are GMT -4. The time now is 11:20 AM.

Copyright © 2017 by futures io, s.a., Av Ricardo J. Alfaro, Century Tower, Panama, +507 833-9432, info@futures.io
All information is for educational use only and is not investment advice.
There is a substantial risk of loss in trading commodity futures, stocks, options and foreign exchange products. Past performance is not indicative of future results.
no new posts
Page generated 2017-12-13 in 0.12 seconds with 19 queries on phoenix via your IP 54.227.51.103