retesere20

--part-324534534

Mar 21st, 2019
85
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. //debug
  2. if (Debug_Show_StochasticPremierePlot<>"") then begin
  3. if( (Debug_Show_StochasticPremierePlot="1" and BarComplete_) OR Debug_Show_StochasticPremierePlot="2") then begin
  4. //make lines simulative related to current chart's price-area
  5. value12 = maxlist(PSP_PremStoch_mtf_val_1, PSP_PremStoch_mtf_val_2);
  6. value13 = maxlist(PSP_PremStoch_mtf_val_1, PSP_PremStoch_mtf_val_3);
  7. value14 = maxlist(PSP_PremStoch_mtf_val_2, PSP_PremStoch_mtf_val_3);
  8. value22 = minlist(PSP_PremStoch_mtf_val_1, PSP_PremStoch_mtf_val_2);
  9. value23 = minlist(PSP_PremStoch_mtf_val_1, PSP_PremStoch_mtf_val_3);
  10. value24 = minlist(PSP_PremStoch_mtf_val_2, PSP_PremStoch_mtf_val_3);
  11. value1 = iff( PSP_PremStoch_mtf_val_1> value14, 1, iff(PSP_PremStoch_mtf_val_1<value24, -1, 0 ) );
  12. value2 = iff( PSP_PremStoch_mtf_val_2> value13, 1, iff(PSP_PremStoch_mtf_val_2<value23, -1, 0 ) );
  13. value3 = iff( PSP_PremStoch_mtf_val_3> value12, 1, iff(PSP_PremStoch_mtf_val_3<value22, -1, 0 ) );
  14. value9 = tc_DrawDot( close+value1*tt_AvgBarHeight, yellow, 4, BarDateTime );
  15. value9 = tc_DrawDot( close+value2*tt_AvgBarHeight, cyan , 6, BarDateTime );
  16. value9 = tc_DrawDot( close+value3*tt_AvgBarHeight, magenta, 8, BarDateTime );
  17. end;
  18. end;
RAW Paste Data