Search found 1 match

Go to advanced search

by C1616
Sat Jul 15, 2023 11:01 am
Forum: General Trading Discussions
Topic: i am having trouble with the strategy tester and drawing data onto the chart
Replies: 0
Views: 7411
 
Jump to post

i am having trouble with the strategy tester and drawing data onto the chart

//@version = 5 strategy(title = "impulse MACD", overlay = false, initial_capital = 100000, default_qty_type = strategy.percent_of_equity, default_qty_value = 100) lengthMA = input(34) lengthSignal = input(9) calc_smma(src, len) => ema1 = ta.ema(src, lengthMA) ema2 = ta.ema(ema1, lengthSignal) //d = ...

Go to advanced search