Params
Vars
Series<Numeric> uphand1;
Series<Numeric> weekhand;
Events
OnBar(ArrayRef<Integer> indexs)
{
if(Weekday==Weekday[1])uphand1=Highest(HighD(0),5);
weekhand=Highest(uphand1,3);
Commentary("前三周最高="+text(weekhand));
PlotNumeric("3周最高=",weekhand);
}
请问求前3周(不含本周)的最高价 这样写为什么不对呢
错得比较多
常规做法叠加一个周线直接饮用
参考跨周期相关教程或视频