Type/to search

Turtles strategy

海龟交易法
11
Follow
649
Followers

Demonstrate how to increase positions in pine language

Source
Pine
/*backtest
start: 2021-04-29 00:00:00
end: 2022-04-28 23:59:00
period: 1d
basePeriod: 1h
exchanges: [{"eid":"Bitfinex","currency":"BTC_USD"}]
*/

strategy("Turtles strategy", overlay=true, pyramiding=4)
// inputs
RiskRatio = input(1)                   // % Risk Per N ( 0 - 100)
ATRLength = input(20)                  // 平均波动周期 ATR Length
Strategy parameters
Strategy parameters
RiskRatio
ATRLength
BOLength
FSLength
TELength
ContractUnit
MinStock
LastProfitableTradeFilter
Related strategies
Comment
All comments (0)
No data
No data
  • 1
iPhone Download
Forums
PINE Language
© 2015 - ∞ INVENTOR PTE LTD (SG)