거래 로봇을 무료로 다운로드 하는 법을 시청해보세요
당사를 Telegram에서 찾아주십시오!
당사 팬 페이지에 가입하십시오
스크립트가 흥미로우신가요?
그렇다면 링크 to it -
하셔서 다른 이들이 평가할 수 있도록 해보세요
스크립트가 마음에 드시나요? MetaTrader 5 터미널에서 시도해보십시오
조회수:
13556
평가:
(29)
게시됨:
2011.05.04 13:02
업데이트됨:
2016.11.22 07:32
이 코드를 기반으로 한 로봇이나 지표가 필요하신가요? 프리랜스로 주문하세요 프리랜스로 이동

This indicator compares four types of regression (linear, quadratic, logarithmic and exponential) and chooses the one that best fits the data analyzed.

This analysis is done every time there is a new tick.

//--- input parameters
// dp_limiter  It should be >2 . If not it will be autoset to default value
input ushort         dp_limiter  =100;     // Number of data points
input uint           endpos      =0;      // Last value position
input double         multStdDev  =1.96;    // Bands separation
input inputs_switch  comments   =On;     // Comments switch
input inputs_switch  record     =Off;    // Record info into a file text

In the left top corner of the chart four values are displayed.

These values represent the dispersion of data regarding to its regression, so the smallest value indicates the best option.

Regression Analysis

Regression Analysis

Additionally, the indicator allows recording these values into a text file for further analysis.

Regression Analysis

Kaufman Efficiency Ratio Kaufman Efficiency Ratio

Kaufman Efficiency Ratio (also called "generalized fractal efficiency") according to Perry Kaufman books "Smarter Trading" and "New Trading Systems & Methods".

Kaufman Volatility Kaufman Volatility

Kaufman Volatility indicator according to Perry Kaufman book "Smarter Trading: Improving Performance in Changing Markets".

sTimeToVariables sTimeToVariables

The script converts the time, represented as datetime variable into the year, month, day, hour, minutes and seconds.

Exposure Exposure

This script reads all opened position and calculates their exposure for each currency.