Center of Gravity (COG)

Expand / Collapse
 

Center of Gravity (COG)


Center of Gravity (COG)


This indicator is the variation of Polynomial Regression indicator.

 
Bars_back – total number of candles where the indicator will be shown.
M – linearity (1 – line, 2 – parabola … 9 - curve).





Rate this Download:

Download File


COG_v2.act COG_v2.act (9.06 KB, 1,105 views)

User Comments

Click to subscribe to comments RSS feed...
No Member Photo by trixxx posted Thursday, September 09, 2010
Sorry you don't have permission to rate comments. 0 Sorry you don't have permission to rate comments.
Yes, works. Thanks
No Member Photo by Administrator posted Monday, September 06, 2010
Supreme Being with 290 recognition pointsSupreme Being with 290 recognition pointsSupreme Being with 290 recognition pointsSupreme Being with 290 recognition pointsSupreme Being with 290 recognition pointsSupreme Being with 290 recognition pointsSupreme Being with 290 recognition pointsSupreme Being with 290 recognition points
Sorry you don't have permission to rate comments. 0 Sorry you don't have permission to rate comments.
Hello, trixxx!

Problem has been resolved.

You can download the updated version of the indicator from this link:
http://www.actfx.com/Attachment150.aspx

Best regards
-ACTFX(c) Forum Administrator

No Member Photo by trixxx posted Sunday, September 05, 2010
Sorry you don't have permission to rate comments. 0 Sorry you don't have permission to rate comments.
EXCEPTION
EVariantBadIndexError in TChartDataLoader
CODE

MESSAGE
Exception at user script: Center of Gravity
Exception at user script: Center of Gravity
Variant or safe array index out of bounds
DETAILS

CALL STACK
fx_client.exe=>FastScriptChartProcessor.pas=>TFastScriptChartProcessor.RaiseUserScriptException=>172
fx_client.exe=>FastScriptChartProcessor.pas=>TFastScriptChartProcessor.Recalculate=>183
fx_client.exe=>System.pas=>_RaiseExcept=>12393
fx_client.exe=>FastScriptChartProcessor.pas=>TFastScriptChartProcessor.RaiseUserScriptException=>175
fx_client.exe=>System.pas=>CharFromWChar=>14338
fx_client.exe=>System.pas=>_UStrToString=>17410
fx_client.exe=>System.pas=>Move=>4414
fx_client.exe=>System.pas=>_UStrToString=>17417
fx_client.exe=>System.pas=>_UStrClr=>16961
fx_client.exe=>System.pas=>_UStrToString=>17418
fx_client.exe=>System.pas=>CharFromWChar=>14312
fx_client.exe=>System.pas=>CharFromWChar=>14339
fx_client.exe=>System.pas=>CharFromWChar=>14312
fx_client.exe=>System.pas=>CharFromWChar=>14339
fx_client.exe=>System.pas=>CharFromWChar=>14338
fx_client.exe=>System.pas=>_UStrToString=>17410
fx_client.exe=>System.pas=>Move=>4414
fx_client.exe=>System.pas=>_UStrToString=>17417
fx_client.exe=>System.pas=>_RaiseExcept=>12393
fx_client.exe=>Variants.pas=>TranslateResult=>584
fx_client.exe=>Variants.pas=>TranslateResult=>578
fx_client.exe=>Variants.pas=>VarResultCheck=>599
fx_client.exe=>Variants.pas=>VarResultCheck=>598
fx_client.exe=>Variants.pas=>_VarArrayPut=>4904
fx_client.exe=>Variants.pas=>_VarArrayPut=>4885
fx_client.exe=>fs_iInterpreter.pas=>TfsArrayHelper.SetValue=>3341
fx_client.exe=>fs_iInterpreter.pas=>TfsArrayDesignator.SetValue=>2006
fx_client.exe=>fs_iInterpreter.pas=>TfsAssignmentStmt.Execute=>2902
fx_client.exe=>fs_iInterpreter.pas=>TfsStatement.Execute=>2866
fx_client.exe=>fs_iInterpreter.pas=>TfsStatement.Execute=>2862
fx_client.exe=>fs_iInterpreter.pas=>TfsForStmt.Execute=>3061
fx_client.exe=>fs_iInterpreter.pas=>TfsStatement.Execute=>2866
fx_client.exe=>fs_iInterpreter.pas=>TfsStatement.Execute=>2862
fx_client.exe=>fs_iInterpreter.pas=>TfsIfStmt.Execute=>2979
fx_client.exe=>fs_iInterpreter.pas=>TfsStatement.Execute=>2866
fx_client.exe=>fs_iInterpreter.pas=>TfsProcVariable.GetValue=>1113
fx_client.exe=>Variants.pas=>_VarCopy=>990
fx_client.exe=>fs_iInterpreter.pas=>TfsCustomVariable.SetValue=>972
fx_client.exe=>fs_iInterpreter.pas=>TfsScript.CallFunction=>2505
fx_client.exe=>fs_iInterpreter.pas=>TfsScript.CallFunction=>2496
fx_client.exe=>FastScriptChartProcessor.pas=>TFastScriptChartProcessor.AddValue=>50
fx_client.exe=>ChartProcessorUnit.pas=>TChartProcessor.AddAllValues=>242
fx_client.exe=>ChartProcessorUnit.pas=>TChartProcessor.AddAllValues=>241
fx_client.exe=>ChartProcessorUnit.pas=>TChartProcessor.FullRecalculation=>321
fx_client.exe=>ChartProcessorUnit.pas=>TChartProcessor.FullRecalculation=>318
fx_client.exe=>UserIndicatorsCallMethods.pas=>TUserIndicatorsCallMethods.CM_Functions=>203
fx_client.exe=>fs_iInterpreter.pas=>TfsMethodHelper.GetValue=>1331
fx_client.exe=>fs_iInterpreter.pas=>TfsDesignator.DoCalc=>1910
fx_client.exe=>fs_iInterpreter.pas=>TfsDesignator.DoCalc=>1854
fx_client.exe=>fs_iInterpreter.pas=>TfsDesignator.GetValue=>1951
fx_client.exe=>fs_iInterpreter.pas=>TfsCallStmt.Execute=>2949
fx_client.exe=>fs_iInterpreter.pas=>TfsStatement.Execute=>2866
fx_client.exe=>fs_iInterpreter.pas=>TfsProcVariable.GetValue=>1113
fx_client.exe=>Variants.pas=>GetVarDataArrayInfo=>4635
fx_client.exe=>Variants.pas=>VarIsArray=>4780
fx_client.exe=>fs_iInterpreter.pas=>TfsScript.CallFunction=>2505
fx_client.exe=>fs_iInterpreter.pas=>TfsScript.CallFunction=>2496
fx_client.exe=>FastScriptChartProcessor.pas=>TFastScriptChartProcessor.Recalculate=>181
fx_client.exe=>ChartProcessorUnit.pas=>TCustomChartIndicatorBase.Recalculate=>415
fx_client.exe=>ChartIndicators.pas=>TChartIndicators.Recalculate=>330
fx_client.exe=>ChartIndicators.pas=>TChartIndicators.Recalculate=>329
fx_client.exe=>ChartWindowBase.pas=>TForm_Chart.OnEndOfDataRequest=>4757
fx_client.exe=>ChartWindowBase.pas=>TForm_Chart.OnEndOfDataRequest=>4732
fx_client.exe=>ChartWindowBase.pas=>TGetChartsBackWork.ProcessData=>704
fx_client.exe=>Classes.pas=>CheckSynchronize=>10847
fx_client.exe=>Classes.pas=>CheckSynchronize=>10824
fx_client.exe=>Forms.pas=>TApplication.WndProc=>9338
USER32.dll=>=>GetAppCompatFlags=>0
fx_client.exe=>cxContainer.pas=>ApplicationGetMessageMsgHookProc=>6318
fx_client.exe=>Classes.pas=>StdWndProc=>12703
USER32.dll=>=>DispatchMessageW=>0
USER32.dll=>=>DispatchMessageW=>0
fx_client.exe=>Forms.pas=>TApplication.ProcessMessage=>9660
fx_client.exe=>Forms.pas=>TApplication.ProcessMessage=>9630
fx_client.exe=>Forms.pas=>TApplication.HandleMessage=>9690
fx_client.exe=>Forms.pas=>TApplication.HandleMessage=>9689
fx_client.exe=>Forms.pas=>TApplication.Run=>9827
fx_client.exe=>Forms.pas=>TApplication.Run=>9801
fx_client.exe=>Fx_Client.dpr=>=>353
kernel32.dll=>=>BaseThreadInitThunk=>0
...
fx_client.exe=>Classes.pas=>TThread.Synchronize=>11195
fx_client.exe=>Classes.pas=>TThread.Synchronize=>11262
fx_client.exe=>Classes.pas=>TThread.Synchronize=>11257
fx_client.exe=>Classes.pas=>TThread.Synchronize=>11279
fx_client.exe=>Classes.pas=>TThread.Synchronize=>11277
fx_client.exe=>Classes.pas=>TThread.StaticSynchronize=>11330
fx_client.exe=>Classes.pas=>TThread.StaticSynchronize=>11329
fx_client.exe=>BackWorker.pas=>TBackWork.Synchronize=>69
fx_client.exe=>BackWorker.pas=>TBackWork.Synchronize=>68
fx_client.exe=>ChartWindowBase.pas=>TGetChartsBackWork.Execute=>695
fx_client.exe=>BackWorker.pas=>ExecuteWork=>107
fx_client.exe=>BackWorker.pas=>ExecuteWork=>100
fx_client.exe=>BackWorker.pas=>TBackWorker.Execute=>129
fx_client.exe=>Classes.pas=>ThreadProc=>10892
fx_client.exe=>System.pas=>ThreadWrapper=>13816
kernel32.dll=>=>BaseThreadInitThunk=>0

WINDOWS VERSION
6.1.7600 
APPLICATION INFO
fx_client.exe 4.2.64.6/4.2.64 
http://a103.sysfx.com:8153/xml/; eforex153; ТРЕЙДЕР: ZBB85190
RISE TIME
2010-09-05 21:48:59
Server Time: 14:48:59

No Member Photo by trixxx posted Thursday, September 02, 2010
Sorry you don't have permission to rate comments. 0 Sorry you don't have permission to rate comments.
when you restart ActTrader - indicator gives an error (2h charts)
No Member Photo by Administrator posted Thursday, August 19, 2010
Supreme Being with 290 recognition pointsSupreme Being with 290 recognition pointsSupreme Being with 290 recognition pointsSupreme Being with 290 recognition pointsSupreme Being with 290 recognition pointsSupreme Being with 290 recognition pointsSupreme Being with 290 recognition pointsSupreme Being with 290 recognition points
Sorry you don't have permission to rate comments. 0 Sorry you don't have permission to rate comments.
Hi, Xelix!
Thank you for your attention to the description of this indicator.
Bars_back – total number of the candles where indicator will be shown.
M – linearity (1 – line, 2 – parabola … 9 - curve).
Period – was unnecessary parameter (mainly the same as the Bars_back), so it has been deleted.
Best regards
-ACTFX(c) Forum Administrator
No Member Photo by xelix posted Wednesday, August 04, 2010
Sorry you don't have permission to rate comments. 0 Sorry you don't have permission to rate comments.
Can anyone explain the parameter settings of this indicator, to obtain the picture above? (Period, bars_back and m)


Comment require login or registration.

Details
Type: SCRIPT

Article has been viewed 5,646 times.

Options