snoperg
snoperg
@snoperg
Admin
Admin
Joined: Jan 3, 2021
Last seen: Nov 3, 2021
Topics: 0 / Replies: 15
Reply
RE: Indicator True Strength Index

Hi All, Upon checking on this issue, the problem was caused by division of Zero in Set TSI = (EMA_13/aEMA_13) * 100. Initial value of aEMA_13 is...

3 years ago
Reply
RE: Backtest Transactions Result

Thanks for the report we will on check this.

3 years ago
Reply
RE: Is there a way to have vanguard load up data from a local pc DB?

To automate the database update, we fixed VAI to reference only a single database.

3 years ago
Reply
RE: Available date range for backtesting

VAI has the following offline data: EOD Data (Daily) from 2017 to current (2021) EOD Data (Weekly) from 2006 to current (2021) EOD Data (Monthly...

3 years ago
Reply
RE: Buy or sell using opening Price

Sorry for confusion. If you just want to buy it in next day using Open price, just code your script as is (no special condition) but in backtesting, m...

3 years ago
Reply
RE: Buy or sell using opening Price

#Moving Average Convergence/Divergence (MACD)Set MACD_Line = MACD(12, 26, 9, Exponential)Set MACD_Signal = MACDSIGNAL(12, 26, 9, Exponential)Set HISTO...

3 years ago
Reply
RE: Buy or sell using opening Price

set Buy = Your Condition on Buy//Ref(Buy,1) value of Buy 1 day agoset BuyPrice = if(Ref(Buy,1),Open,0) To store your buy price you can use the b...

3 years ago
Reply
RE: Individual Backtest Result for Multiple Stock Selection

Currently you can run backtesting of individual stocks manually. We will take note on this.

3 years ago
Topic
3 years ago
Replies: 1
Views: 401
Reply
RE: Sell if closing price is at least 5% lower from the buying point.

Use blockref to store the close price when your buy condition hit. //Store the Buy Amount -> Blockref(value if condition1=True,value if condition...

3 years ago
Topic
Replies: 1
Views: 321
Topic
Replies: 1
Views: 638
Reply
RE: Getting Weekly/Monthly open

REF can be used to reference previous bars. 5 can be used for weekly since we have only 5 trading days in a a week and 20 days for a month. Close >...

3 years ago
Topic
Replies: 1
Views: 499
Topic
3 years ago
Replies: 2
Views: 395