Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def plot_X_H = if isnan(plot_Y_H) then z else
- if bn<=1 then z
- else if !isNan(plot_X_H[1]) then plot_X_H[1]
- else if (isTargetPeriod and !isNan(plot_K_H)) and
- (
- (
- //if (isNan(plot_Y_H), yes, plot_K_H != plot_Y_H)
- HH_BLOCKS
- )
- and
- (
- //if (isNan(plot_Y_L), yes, plot_K_H != plot_Y_L)
- HL_BLOCKS
- )
- )
- then plot_K_H
- else
- plot_X_H[1];
- plot plot_Xh= plot_X_H; plot_Xh.SetDefaultColor(GlobalColor("LinesColor"));
- def plot_X_L = if isnan(plot_Y_L) then z else
- if bn<=1 then z
- else if !isNan(plot_X_L[1]) then plot_X_L[1]
- else if (isTargetPeriod and !isNan(plot_K_L)) and
- (
- (
- //if (isNan(plot_Y_L), yes, plot_K_L != plot_Y_L)
- LL_BLOCKS
- )
- and
- (
- //if (isNan(plot_Y_H), yes, plot_K_L != plot_Y_H)
- // and
- //if (isNan(plot_X_H), yes, plot_K_L != plot_X_H)
- LH_BLOCKS
- )
- )
- then plot_K_L
- else
- plot_X_L[1];
- plot plot_Xl= plot_X_L; plot_Xl.SetDefaultColor(GlobalColor("LinesColor"));
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement