简体   繁体   中英

How to get the high and low of previous candle

I feel like this is a fairly simple question but I can't find the answer. I just need to set a stop loss at the high of the previous candle

Getting any value from the previous candle would just need [1] put after it. For example, the high of the previous candle would be high[1] and the previous close would be close[1]

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM