第四版

This commit is contained in:
YuWuKunCheng
2026-05-26 11:03:05 +08:00
parent 7416bfc73a
commit 104ecf0268
11 changed files with 334 additions and 24 deletions
+6
View File
@@ -40,10 +40,16 @@ impl 背驰分析 {
/// 斜率背驰 — 价格斜率背驰
pub fn (: &线, : &线) -> bool {
let dx = (.. - ..) as f64;
if dx == 0.0 {
return false;
}
let dy = .. - ..;
let = dy / dx;
let dx = (.. - ..) as f64;
if dx == 0.0 {
return false;
}
let dy = .. - ..;
let = dy / dx;