last version of simple style with clouds added to bars .... still don't know how to make the clouds green or red depending on whether it was an up bar or down bar
....looks fantastic
RichieRick Wrote:
-------------------------------------------------------
> elovemer Wrote:
> --------------------------------------------------
> -----
> -----
>
> Hey, you can post it here if ya want. I was just
> messing with ya.
def displace = 0;
input showOnlyToday = yes;
def Market_Open_Time = 0930;
def Market_Close_Time = 1600;
def day = GetDay();
def lastDay = GetLastDay();
def isToday = If(day == lastDay, 1, 0);
#def should = if(showOnlyToday and isToday,0,if(!showOnlyToday,1,0));
def shouldPlot = If(showOnlyToday and isToday, 1, If(!showOnlyToday, 1, 0));
def pastOpen = If((SecondsTillTime(Market_Open_Time) > 0), 0, 1);
def pastClose = If((SecondsTillTime(Market_Close_Time) > 0), 0, 1);
def marketOpen = If(pastOpen and !pastClose, 1, 0);
def firstBar = If (day[1] != day, 1, 0);
def closingBell = if SecondsTillTime(Market_Close_Time)[1] > 0 and SecondsTillTime(Market_Close_Time) <= 0 or
(SecondsTillTime(Market_Close_Time)[1] < SecondsTillTime(Market_Close_Time)
and SecondsTillTime(Market_Close_Time)[1] > 0) then 1 else 0;
rec regHoursHigh = If(high > regHoursHigh[1] and marketOpen, high, If(marketOpen and !firstBar, regHoursHigh[1], high));
rec regHoursLow = If(low < regHoursLow[1] and marketOpen, low,
If(marketOpen and regHoursLow[1] > 0 and !firstBar, regHoursLow[1], low));
#--------------------------------------
declare once_per_bar;
declare hide_on_daily;
def US_Open = 930;
def US_Close = 935;
def us_2 = 940;
def us_3 = 945;
def us_4 = 950;
def us_5 = 955;
def us_6 = 1000;
def us_7 = 1005;
def us_8 = 1010;
def us_9 = 1015;
def us_10 = 1020;
def us_11 = 1025;
def us_12 = 1030;
def us_13 = 1035;
def us_14 = 1040;
def us_15 = 1045;
def us_16 = 1050;
def us_17 = 1055;
def us_18 = 1100;
def us_19 = 1105;
def us_20 = 1110;
def us_21 = 1115;
def us_22 = 1120;
def us_23 = 1125;
def us_24 = 1130;
def us_25 = 1135;
def us_26 = 1140;
def us_27 = 1145;
def us_28 = 1150;
def us_29 = 1155;
def us_30 = 1200;
def us_31 = 1205;
def us_32 = 1210;
def us_33 = 1215;
def us_34 = 1220;
def us_35 = 1225;
def us_36 = 1230;
def us_37 = 1235;
def us_38 = 1240;
def us_39 = 1245;
def us_40 = 1250;
def us_41 = 1255;
def us_42 = 1300;
def us_43 = 1305;
def us_44 = 1310;
def us_45 = 1315;
def us_46 = 1320;
def us_47 = 1325;
def us_48 = 1330;
def us_49 = 1335;
def us_50 = 1340;
def us_51 = 1345;
def us_52 = 1350;
def us_53 = 1355;
def us_54 = 1400;
def us_55 = 1405;
def us_56 = 1410;
def us_57 = 1415;
def us_58 = 1420;
def us_59 = 1425;
def us_60 = 1430;
def us_61 = 1435;
def us_62 = 1440;
def us_63 = 1445;
def us_64 = 1450;
def us_65 = 1455;
def us_67 = 1505;
def us_68 = 1510;
def us_69 = 1515;
def us_70 = 1520;
def us_71 = 1525;
def us_72 = 1530;
def us_73 = 1535;
def us_74 = 1540;
def us_75 = 1545;
def us_76 = 1550;
def us_77 = 1555;
def us_78 = 1600;
#---------------------------------------
# and low[-1]<= reghourslow
plot cls = if shouldPlot then
close else Double.NaN;
plot lo = if shouldPlot then
low else Double.NaN;
plot hi = if shouldPlot then
high else Double.NaN;
input shwM = yes;
#-------------------------
plot thing1 = if
SecondsFromTime(US_Close)[1] < 0
&& SecondsFromTime(US_Close) >= 0
and shwM
then low[-78]
else if
SecondsFromTime(us_2)[1] < 0
&& SecondsFromTime(us_2) >= 0
and shwM
then low[-77]
else Double.NaN;
thing1.SetStyle(Curve.POINTS);
thing1.SetDefaultColor(Color.CYAN);
#-------------------------------------
#
plot thing1H = if
SecondsFromTime(US_Close)[1] < 0
&& SecondsFromTime(US_Close) >= 0
and shwM
then high[-78]
else if
SecondsFromTime(us_2)[1] < 0
&& SecondsFromTime(us_2) >= 0
and shwM
then high[-77]
else Double.NaN;
thing1H.SetStyle(Curve.POINTS);
thing1H.SetDefaultColor(Color.RED);
#
AddCloud (thing1, thing1H);
#----------------------------------------------
plot thing2 = if
SecondsFromTime(us_4)[1] < 0
&& SecondsFromTime(us_4) >= 0
# then low[2]
and shwM
then low[-76]
else if
SecondsFromTime(us_5)[1] < 0
&& SecondsFromTime(us_5) >= 0
#then low[3]
and shwM
then low[-75]
else Double.NaN;
thing2.SetStyle(Curve.POINTS);
thing2.SetDefaultColor(Color.CYAN);
plot thing2H = if
SecondsFromTime(us_4)[1] < 0
&& SecondsFromTime(us_4) >= 0
#then high[2]
and shwM
then high[-76]
else if
SecondsFromTime(us_5)[1] < 0
&& SecondsFromTime(us_5) >= 0
and shwM
#then high[3]
then high[-75]
else Double.NaN;
thing2H.SetStyle(Curve.POINTS);
thing2H.SetDefaultColor(Color.RED);
AddCloud (thing2, thing2H);
#-----------------------------------------------
plot L3 = if
SecondsFromTime(us_7)[1] < 0
&& SecondsFromTime(us_7) >= 0
and shwM
then low[-74]
else if
SecondsFromTime(us_8)[1] < 0
&& SecondsFromTime(us_8) >= 0
and shwM
then low[-73]
else Double.NaN;
L3.SetStyle(Curve.POINTS);
L3.SetDefaultColor(Color.CYAN);
#
plot H3 = if
SecondsFromTime(us_7)[1] < 0
&& SecondsFromTime(us_7) >= 0
and shwM
then high[-74]
else if
SecondsFromTime(us_8)[1] < 0
&& SecondsFromTime(us_8) >= 0
and shwM
then high[-73]
else Double.NaN;
H3.SetStyle(Curve.POINTS);
H3.SetDefaultColor(Color.RED);
AddCloud(L3, H3);
#-----------------------------
plot L4 = if
SecondsFromTime(us_10)[1] < 0
&& SecondsFromTime(us_10) >= 0
and shwM
then low[-72]
else if
SecondsFromTime(us_11)[1] < 0
&& SecondsFromTime(us_11) >= 0
and shwM
then low[-71]
else Double.NaN;
L4.SetStyle(Curve.POINTS);
L4.SetDefaultColor(Color.CYAN);
#
plot H4 = if
SecondsFromTime(us_10)[1] < 0
&& SecondsFromTime(us_10) >= 0
and shwM
then high[-72]
else if
SecondsFromTime(us_11)[1] < 0
&& SecondsFromTime(us_11) >= 0
and shwM
then high[-71]
else Double.NaN;
H4.SetStyle(Curve.POINTS);
H4.SetDefaultColor(Color.RED);
AddCloud(L4, H4);
#----------------------
plot L5 = if
SecondsFromTime(us_13)[1] < 0
&& SecondsFromTime(us_13) >= 0
and shwM
then low[-70]
else if
SecondsFromTime(us_14)[1] < 0
&& SecondsFromTime(us_14) >= 0
and shwM
then low[-69]
else Double.NaN;
L5.SetStyle(Curve.POINTS);
L5.SetDefaultColor(Color.CYAN);
#
plot H5 = if
SecondsFromTime(us_13)[1] < 0
&& SecondsFromTime(us_13) >= 0
and shwM
then high[-70]
else if
SecondsFromTime(us_14)[1] < 0
&& SecondsFromTime(us_14) >= 0
and shwM
then high[-69]
else Double.NaN;
H5.SetStyle(Curve.POINTS);
H5.SetDefaultColor(Color.RED);
AddCloud(L5, H5);
#----------------------------------------------
plot L6 = if
SecondsFromTime(us_16)[1] < 0
&& SecondsFromTime(us_16) >= 0
and shwM
then low[-68]
else if
SecondsFromTime(us_17)[1] < 0
&& SecondsFromTime(us_17) >= 0
and shwM
then low[-67]
else Double.NaN;
L6.SetStyle(Curve.POINTS);
L6.SetDefaultColor(Color.CYAN);
#
plot H6 = if
SecondsFromTime(us_16)[1] < 0
&& SecondsFromTime(us_16) >= 0
and shwM
then high[-68]
else if
SecondsFromTime(us_17)[1] < 0
&& SecondsFromTime(us_17) >= 0
and shwM
then high[-67]
else Double.NaN;
H6.SetStyle(Curve.POINTS);
H6.SetDefaultColor(Color.RED);
AddCloud(L6, H6);
#------------------------------
plot L7 = if
SecondsFromTime(us_19)[1] < 0
&& SecondsFromTime(us_19) >= 0
and shwM
then low[-66]
else if
SecondsFromTime(us_20)[1] < 0
&& SecondsFromTime(us_20) >= 0
and shwM
then low[-65]
else Double.NaN;
L7.SetStyle(Curve.POINTS);
L7.SetDefaultColor(Color.CYAN);
plot H7 = if
SecondsFromTime(us_19)[1] < 0
&& SecondsFromTime(us_19) >= 0
and shwM
then high[-66]
else if
SecondsFromTime(us_20)[1] < 0
&& SecondsFromTime(us_20) >= 0
and shwM
then high[-65]
else Double.NaN;
H7.SetStyle(Curve.POINTS);
H7.SetDefaultColor(Color.RED);
AddCloud(L7, H7);
#----------------------------------
plot L8 = if
SecondsFromTime(us_22)[1] < 0
&& SecondsFromTime(us_22) >= 0
and shwM
then low[-64]
else if
SecondsFromTime(us_23)[1] < 0
&& SecondsFromTime(us_23) >= 0
and shwM
then low[-63]
else Double.NaN;
L8.SetStyle(Curve.POINTS);
L8.SetDefaultColor(Color.CYAN);
plot H8 = if
SecondsFromTime(us_22)[1] < 0
&& SecondsFromTime(us_22) >= 0
and shwM
then high[-64]
else if
SecondsFromTime(us_23)[1] < 0
&& SecondsFromTime(us_23) >= 0
and shwM
then high[-63]
else Double.NaN;
H8.SetStyle(Curve.POINTS);
H8.SetDefaultColor(Color.RED);
AddCloud(L8, H8);
#-------------------------------------
plot L9 = if
SecondsFromTime(us_25)[1] < 0
&& SecondsFromTime(us_25) >= 0
and shwM
then low[-62]
else if
SecondsFromTime(us_26)[1] < 0
&& SecondsFromTime(us_26) >= 0
and shwM
then low[-61]
else Double.NaN;
L9.SetStyle(Curve.POINTS);
L9.SetDefaultColor(Color.CYAN);
plot H9 = if
SecondsFromTime(us_25)[1] < 0
&& SecondsFromTime(us_25) >= 0
and shwM
then high[-62]
else if
SecondsFromTime(us_26)[1] < 0
&& SecondsFromTime(us_26) >= 0
and shwM
then high[-61]
else Double.NaN;
H9.SetStyle(Curve.POINTS);
H9.SetDefaultColor(Color.RED);
AddCloud(L9, H9);
#------------------------------------
# *** problem here
#/////////////////////////////////////////
plot L10 = if
SecondsFromTime(us_28)[1] < 0
&& SecondsFromTime(us_28) >= 0
and shwM
then low[-60]
else if
SecondsFromTime(us_29)[1] < 0
&& SecondsFromTime(us_29) >= 0
and shwM
then low[-59]
else Double.NaN;
L10.SetStyle(Curve.POINTS);
L10.SetDefaultColor(Color.CYAN);
plot H10 = if
SecondsFromTime(us_28)[1] < 0
&& SecondsFromTime(us_28) >= 0
and shwM
then high[-60]
else if
SecondsFromTime(us_29)[1] < 0
&& SecondsFromTime(us_29) >= 0
and shwM
then high[-59]
else Double.NaN;
H10.SetStyle(Curve.POINTS);
H10.SetDefaultColor(Color.RED);
AddCloud(L10, H10);
#------------------------------------
plot L11 = if
SecondsFromTime(us_31)[1] < 0
&& SecondsFromTime(us_31) >= 0
and shwM
then low[-58]
else if
SecondsFromTime(us_32)[1] < 0
&& SecondsFromTime(us_32) >= 0
and shwM
then low[-57]
else Double.NaN;
L11.SetStyle(Curve.POINTS);
L11.SetDefaultColor(Color.CYAN);
plot H11 = if
SecondsFromTime(us_31)[1] < 0
&& SecondsFromTime(us_31) >= 0
and shwM
then high[-58]
else if
SecondsFromTime(us_32)[1] < 0
&& SecondsFromTime(us_32) >= 0
and shwM
then high[-57]
else Double.NaN;
H11.SetStyle(Curve.POINTS);
H11.SetDefaultColor(Color.RED);
AddCloud (L11, H11);
#------------------------------------
plot L12 = if
SecondsFromTime(us_34)[1] < 0
&& SecondsFromTime(us_34) >= 0
and shwM
then low[-56]
else if
SecondsFromTime(us_35)[1] < 0
&& SecondsFromTime(us_35) >= 0
and shwM
then low[-55]
else Double.NaN;
L12.SetStyle(Curve.POINTS);
L12.SetDefaultColor(Color.CYAN);
plot H12 = if
SecondsFromTime(us_34)[1] < 0
&& SecondsFromTime(us_34) >= 0
and shwM
then high[-56]
else if
SecondsFromTime(us_35)[1] < 0
&& SecondsFromTime(us_35) >= 0
and shwM
then high[-55]
else Double.NaN;
H12.SetStyle(Curve.POINTS);
H12.SetDefaultColor(Color.RED);
AddCloud (L12, H12);
#------------------------------------
#/
plot L13 = if
SecondsFromTime(us_37)[1] < 0
&& SecondsFromTime(us_37) >= 0
and shwM
then low[-54]
else if
SecondsFromTime(us_38)[1] < 0
&& SecondsFromTime(us_38) >= 0
and shwM
then low[-53]
else Double.NaN;
L13.SetStyle(Curve.POINTS);
L13.SetDefaultColor(Color.CYAN);
plot H13 = if
SecondsFromTime(us_37)[1] < 0
&& SecondsFromTime(us_37) >= 0
and shwM
then high[-54]
else if
SecondsFromTime(us_38)[1] < 0
&& SecondsFromTime(us_38) >= 0
and shwM
then high[-53]
else Double.NaN;
H13.SetStyle(Curve.POINTS);
H13.SetDefaultColor(Color.RED);
AddCloud (L13, H13);
#------------------------------------
plot L14 = if
SecondsFromTime(us_40)[1] < 0
&& SecondsFromTime(us_40) >= 0
and shwM
then low[-52]
else if
SecondsFromTime(us_41)[1] < 0
&& SecondsFromTime(us_41) >= 0
and shwM
then low[-51]
else Double.NaN;
L14.SetStyle(Curve.POINTS);
L14.SetDefaultColor(Color.CYAN);
plot H14 = if
SecondsFromTime(us_40)[1] < 0
&& SecondsFromTime(us_40) >= 0
and shwM
then high[-52]
else if
SecondsFromTime(us_41)[1] < 0
&& SecondsFromTime(us_41) >= 0
and shwM
then high[-51]
else Double.NaN;
H14.SetStyle(Curve.POINTS);
H14.SetDefaultColor(Color.RED);
AddCloud(L14, H14);
#------------------------------------
plot L15 = if
SecondsFromTime(us_43)[1] < 0
&& SecondsFromTime(us_43) >= 0
and shwM
then low[-50]
else if
SecondsFromTime(us_44)[1] < 0
&& SecondsFromTime(us_44) >= 0
and shwM
then low[-49]
else Double.NaN;
L15.SetStyle(Curve.POINTS);
L15.SetDefaultColor(Color.CYAN);
plot H15 = if
SecondsFromTime(us_43)[1] < 0
&& SecondsFromTime(us_43) >= 0
and shwM
then high[-50]
else if
SecondsFromTime(us_44)[1] < 0
&& SecondsFromTime(us_44) >= 0
and shwM
then high[-49]
else Double.NaN;
H15.SetStyle(Curve.POINTS);
H15.SetDefaultColor(Color.RED);
AddCloud(L15, H15);
#------------------------------------
plot L16 = if
SecondsFromTime(us_46)[1] < 0
&& SecondsFromTime(us_46) >= 0
and shwM
then low[-48]
else if
SecondsFromTime(us_47)[1] < 0
&& SecondsFromTime(us_47) >= 0
and shwM
then low[-47]
else Double.NaN;
L16.SetStyle(Curve.POINTS);
L16.SetDefaultColor(Color.CYAN);
plot H16 = if
SecondsFromTime(us_46)[1] < 0
&& SecondsFromTime(us_46) >= 0
and shwM
then high[-48]
else if
SecondsFromTime(us_47)[1] < 0
&& SecondsFromTime(us_47) >= 0
and shwM
then high[-47]
else Double.NaN;
H16.SetStyle(Curve.POINTS);
H16.SetDefaultColor(Color.RED);
AddCloud (L16, H16);
#------------------------------------
plot L17 = if
SecondsFromTime(us_49)[1] < 0
&& SecondsFromTime(us_49) >= 0
and shwM
then low[-46]
else if
SecondsFromTime(us_50)[1] < 0
&& SecondsFromTime(us_50) >= 0
and shwM
then low[-45]
else Double.NaN;
L17.SetStyle(Curve.POINTS);
L17.SetDefaultColor(Color.CYAN);
plot H17 = if
SecondsFromTime(us_49)[1] < 0
&& SecondsFromTime(us_49) >= 0
and shwM
then high[-46]
else if
SecondsFromTime(us_50)[1] < 0
&& SecondsFromTime(us_50) >= 0
and shwM
then high[-45]
else Double.NaN;
H17.SetStyle(Curve.POINTS);
H17.SetDefaultColor(Color.RED);
AddCloud (L17, H17);
#------------------------------------
plot L18 = if
SecondsFromTime(us_52)[1] < 0
&& SecondsFromTime(us_52) >= 0
and shwM
then low[-44]
else if
SecondsFromTime(us_53)[1] < 0
&& SecondsFromTime(us_53) >= 0
and shwM
then low[-43]
else Double.NaN;
L18.SetStyle(Curve.POINTS);
L18.SetDefaultColor(Color.CYAN);
plot H18 = if
SecondsFromTime(us_52)[1] < 0
&& SecondsFromTime(us_52) >= 0
and shwM
then high[-44]
else if
SecondsFromTime(us_53)[1] < 0
&& SecondsFromTime(us_53) >= 0
and shwM
then high[-43]
else Double.NaN;
H18.SetStyle(Curve.POINTS);
H18.SetDefaultColor(Color.RED);
AddCloud (L18, H18);
#------------------------------------
plot L19 = if
SecondsFromTime(us_55)[1] < 0
&& SecondsFromTime(us_55) >= 0
and shwM
then low[-42]
else if
SecondsFromTime(us_56)[1] < 0
&& SecondsFromTime(us_56) >= 0
and shwM
then low[-41]
else Double.NaN;
L19.SetStyle(Curve.POINTS);
L19.SetDefaultColor(Color.CYAN);
plot H19 = if
SecondsFromTime(us_55)[1] < 0
&& SecondsFromTime(us_55) >= 0
and shwM
then high[-42]
else if
SecondsFromTime(us_56)[1] < 0
&& SecondsFromTime(us_56) >= 0
and shwM
then high[-41]
else Double.NaN;
H19.SetStyle(Curve.POINTS);
H19.SetDefaultColor(Color.RED);
AddCloud ( L19, H19);
#------------------------------------
plot L20 = if
SecondsFromTime(us_58)[1] < 0
&& SecondsFromTime(us_58) >= 0
and shwM
then low[-40]
else if
SecondsFromTime(us_59)[1] < 0
&& SecondsFromTime(us_59) >= 0
and shwM
then low[-39]
else Double.NaN;
L20.SetStyle(Curve.POINTS);
L20.SetDefaultColor(Color.CYAN);
plot H20 = if
SecondsFromTime(us_58)[1] < 0
&& SecondsFromTime(us_58) >= 0
and shwM
then high[-40]
else if
SecondsFromTime(us_59)[1] < 0
&& SecondsFromTime(us_59) >= 0
and shwM
then high[-39]
else Double.NaN;
H20.SetStyle(Curve.POINTS);
H20.SetDefaultColor(Color.RED);
AddCloud ( L20, H20);
#------------------------------------
#///////////////////////////////////////////
#plot L21 = if
# secondsFromTime(us_58)[1] < 0
# && secondsFromTime(us_58) >= 0
# and shwM
# then low[-40]
# else if
# secondsFromTime(us_59)[1] < 0
# && secondsFromTime(us_59) >= 0
# and shwM
# then low[-39]
# else double.nan;
#L21.setstyle(curve.points);
#L21.setdefaultcolor(color.cyan);
#plot H21 = if
# secondsFromTime(us_58)[1] < 0
# && secondsFromTime(us_58) >= 0
#and shwM
#then high[-40]
#else if
#secondsFromTime(us_59)[1] < 0
# && secondsFromTime(us_59) >= 0
#and shwM
#then high[-39]
# else double.nan;
#H21.setstyle(curve.points);
#H21.setdefaultcolor(color.red);
#------------------------------------
# this is actually 21 ... not 22
plot L22 = if
SecondsFromTime(us_61)[1] < 0
&& SecondsFromTime(us_61) >= 0
and shwM
then low[-38]
else if
SecondsFromTime(us_62)[1] < 0
&& SecondsFromTime(us_62) >= 0
and shwM
then low[-37]
else Double.NaN;
L22.SetStyle(Curve.POINTS);
L22.SetDefaultColor(Color.CYAN);
plot H22 = if
SecondsFromTime(us_61)[1] < 0
&& SecondsFromTime(us_61) >= 0
and shwM
then high[-38]
else if
SecondsFromTime(us_62)[1] < 0
&& SecondsFromTime(us_62) >= 0
and shwM
then high[-37]
else Double.NaN;
H22.SetStyle(Curve.POINTS);
H22.SetDefaultColor(Color.RED);
AddCloud ( L22, H22);
#------------------------------------
plot L23 = if
SecondsFromTime(us_64)[1] < 0
&& SecondsFromTime(us_64) >= 0
and shwM
then low[-36]
else if
SecondsFromTime(us_65)[1] < 0
&& SecondsFromTime(us_65) >= 0
and shwM
then low[-35]
else Double.NaN;
L23.SetStyle(Curve.POINTS);
L23.SetDefaultColor(Color.CYAN);
plot H23 = if
SecondsFromTime(us_64)[1] < 0
&& SecondsFromTime(us_64) >= 0
and shwM
then high[-36]
else if
SecondsFromTime(us_65)[1] < 0
&& SecondsFromTime(us_65) >= 0
and shwM
then high[-35]
else Double.NaN;
H23.SetStyle(Curve.POINTS);
H23.SetDefaultColor(Color.RED);
AddCloud ( L23, H23);
#------------------------------------
plot L24 = if
SecondsFromTime(us_67)[1] < 0
&& SecondsFromTime(us_67) >= 0
and shwM
then low[-34]
else if
SecondsFromTime(us_68)[1] < 0
&& SecondsFromTime(us_68) >= 0
and shwM
then low[-33]
else Double.NaN;
L24.SetStyle(Curve.POINTS);
L24.SetDefaultColor(Color.CYAN);
#------------------------------
plot H24 = if
SecondsFromTime(us_67)[1] < 0
&& SecondsFromTime(us_67) >= 0
and shwM
then high[-34]
else if
SecondsFromTime(us_68)[1] < 0
&& SecondsFromTime(us_68) >= 0
and shwM
then high[-33]
else Double.NaN;
H24.SetStyle(Curve.POINTS);
H24.SetDefaultColor(Color.RED);
AddCloud ( L24, H24);
#------------------------------------
plot L25 = if
SecondsFromTime(us_70)[1] < 0
&& SecondsFromTime(us_70) >= 0
and shwM
then low[-32]
else if
SecondsFromTime(us_71)[1] < 0
&& SecondsFromTime(us_71) >= 0
and shwM
then low[-31]
else Double.NaN;
L25.SetStyle(Curve.POINTS);
L25.SetDefaultColor(Color.CYAN);
plot H25 = if
SecondsFromTime(us_70)[1] < 0
&& SecondsFromTime(us_70) >= 0
and shwM
then high[-32]
else if
SecondsFromTime(us_71)[1] < 0
&& SecondsFromTime(us_71) >= 0
and shwM
then high[-31]
else Double.NaN;
H25.SetStyle(Curve.POINTS);
H25.SetDefaultColor(Color.RED);
AddCloud ( L25, H25);
#------------------------------------
plot L26 = if
SecondsFromTime(us_73)[1] < 0
&& SecondsFromTime(us_73) >= 0
and shwM
then low[-30]
else if
SecondsFromTime(us_74)[1] < 0
&& SecondsFromTime(us_74) >= 0
and shwM
then low[-29]
else Double.NaN;
L26.SetStyle(Curve.POINTS);
L26.SetDefaultColor(Color.CYAN);
plot H26 = if
SecondsFromTime(us_73)[1] < 0
&& SecondsFromTime(us_73) >= 0
and shwM
then high[-30]
else if
SecondsFromTime(us_74)[1] < 0
&& SecondsFromTime(us_74) >= 0
and shwM
then high[-29]
else Double.NaN;
H26.SetStyle(Curve.POINTS);
H26.SetDefaultColor(Color.RED);
AddCloud ( L26, H26);
#------------------------------------
plot L27 = if
SecondsFromTime(us_76)[1] < 0
&& SecondsFromTime(us_76) >= 0
and shwM
then low[-28]
else if
SecondsFromTime(us_77)[1] < 0
&& SecondsFromTime(us_77) >= 0
and shwM
then low[-27]
else Double.NaN;
L27.SetStyle(Curve.POINTS);
L27.SetDefaultColor(Color.CYAN);
plot H27 = if
SecondsFromTime(us_76)[1] < 0
&& SecondsFromTime(us_76) >= 0
and shwM
then high[-28]
else if
SecondsFromTime(us_77)[1] < 0
&& SecondsFromTime(us_77) >= 0
and shwM
then high[-27]
else Double.NaN;
H27.SetStyle(Curve.POINTS);
H27.SetDefaultColor(Color.RED);
AddCloud ( L27, H27);
#-------------------------
#------------------------------------
#
input showN = yes;
plot L28 = if
shwM and
SecondsFromTime(US_Close)[1] < 0
&& SecondsFromTime(US_Close) >= 0
and shouldPlot
then low[-26]
else if
shwM and
SecondsFromTime(us_2)[1] < 0
&& SecondsFromTime(us_2) >= 0
and shouldPlot
then low[-25]
else Double.NaN;
L28.SetStyle(Curve.POINTS);
L28.SetDefaultColor(Color.CYAN);
plot H28 = if
shwM and
SecondsFromTime(US_Close)[1] < 0
&& SecondsFromTime(US_Close) >= 0
and shouldPlot
then high[-26]
else if
shwM and
SecondsFromTime(us_2)[1] < 0
&& SecondsFromTime(us_2) >= 0
and shouldPlot
then high[-25]
else Double.NaN;
H28.SetStyle(Curve.POINTS);
H28.SetDefaultColor(Color.RED);
AddCloud ( L28, H28);
#------------------------
plot L29 = if
shwM and
SecondsFromTime(us_4)[1] < 0
&& SecondsFromTime(us_4) >= 0
and shouldPlot
then low[-24]
else if
shwM and
SecondsFromTime(us_5)[1] < 0
&& SecondsFromTime(us_5) >= 0
and shouldPlot
then low[-23]
else Double.NaN;
L29.SetStyle(Curve.POINTS);
L29.SetDefaultColor(Color.CYAN);
plot H29 = if
shwM and
SecondsFromTime(us_4)[1] < 0
&& SecondsFromTime(us_4) >= 0
and shouldPlot
then high[-24]
else if
shwM and
SecondsFromTime(us_5)[1] < 0
&& SecondsFromTime(us_5) >= 0
and shouldPlot
then high[-23]
else Double.NaN;
H29.SetStyle(Curve.POINTS);
H29.SetDefaultColor(Color.RED);
AddCloud ( L29, H29);
#-----------------------------------------
plot L30 = if
shwM and
SecondsFromTime(us_7)[1] < 0
&& SecondsFromTime(us_7) >= 0
and shouldPlot
then low[-22]
else if
shwM and
SecondsFromTime(us_8)[1] < 0
&& SecondsFromTime(us_8) >= 0
and shouldPlot
then low[-21]
else Double.NaN;
L30.SetStyle(Curve.POINTS);
L30.SetDefaultColor(Color.CYAN);
plot H30 = if
shwM and
SecondsFromTime(us_7)[1] < 0
&& SecondsFromTime(us_7) >= 0
and shouldPlot
then high[-22]
else if
shwM and
SecondsFromTime(us_8)[1] < 0
&& SecondsFromTime(us_8) >= 0
and shouldPlot
then high[-21]
else Double.NaN;
H30.SetStyle(Curve.POINTS);
H30.SetDefaultColor(Color.RED);
AddCloud ( L30, H30);
#--------------------------------------
#-----------------------------------
plot L31 = if
showN and
SecondsFromTime(us_10)[1] < 0
&& SecondsFromTime(us_10) >= 0
and shouldPlot
then low[-20]
else if
showN and
SecondsFromTime(us_11)[1] < 0
&& SecondsFromTime(us_11) >= 0
and shouldPlot
then low[-19]
else Double.NaN;
L31.SetStyle(Curve.POINTS);
L31.SetDefaultColor(Color.BLUE);
plot H31 = if
showN and
SecondsFromTime(us_10)[1] < 0
&& SecondsFromTime(us_10) >= 0
and shouldPlot
then high[-20]
else if
showN and
SecondsFromTime(us_11)[1] < 0
&& SecondsFromTime(us_11) >= 0
and shouldPlot
then high[-19]
else Double.NaN;
H31.SetStyle(Curve.POINTS);
H31.SetDefaultColor(Color.ORANGE);
AddCloud ( L31, H31);
#--------------------------------------
plot L32 = if
showN and
SecondsFromTime(us_13)[1] < 0
&& SecondsFromTime(us_13) >= 0
and shouldPlot
then low[-18]
else if
showN and
SecondsFromTime(us_14)[1] < 0
&& SecondsFromTime(us_14) >= 0
and shouldPlot
then low[-17]
else Double.NaN;
L32.SetStyle(Curve.POINTS);
L32.SetDefaultColor(Color.BLUE);
plot H32 = if
showN and
SecondsFromTime(us_13)[1] < 0
&& SecondsFromTime(us_13) >= 0
and shouldPlot
then high[-18]
else if
showN and
SecondsFromTime(us_14)[1] < 0
&& SecondsFromTime(us_14) >= 0
and shouldPlot
then high[-17]
else Double.NaN;
H32.SetStyle(Curve.POINTS);
H32.SetDefaultColor(Color.ORANGE);
AddCloud ( L32, H32);
#--------------------------------------
plot L33 = if
showN and
SecondsFromTime(us_16)[1] < 0
&& SecondsFromTime(us_16) >= 0
and shouldPlot
then low[-16]
else if
showN and
SecondsFromTime(us_17)[1] < 0
&& SecondsFromTime(us_17) >= 0
and shouldPlot
then low[-15]
else Double.NaN;
L33.SetStyle(Curve.POINTS);
L33.SetDefaultColor(Color.BLUE);
plot H33 = if
showN and
SecondsFromTime(us_16)[1] < 0
&& SecondsFromTime(us_16) >= 0
and shouldPlot
then high[-16]
else if
showN and
SecondsFromTime(us_17)[1] < 0
&& SecondsFromTime(us_17) >= 0
and shouldPlot
then high[-15]
else Double.NaN;
H33.SetStyle(Curve.POINTS);
H33.SetDefaultColor(Color.ORANGE);
addcloud ( L33, H33);
#---------------------------------------
plot L34 = if
showN and
SecondsFromTime(us_19)[1] < 0
&& SecondsFromTime(us_19) >= 0
and shouldPlot
then low[-14]
else if
showN and
SecondsFromTime(us_20)[1] < 0
&& SecondsFromTime(us_20) >= 0
and shouldPlot
then low[-13]
else Double.NaN;
L34.SetStyle(Curve.POINTS);
L34.SetDefaultColor(Color.BLUE);
plot H34 = if
showN and
SecondsFromTime(us_19)[1] < 0
&& SecondsFromTime(us_19) >= 0
and shouldPlot
then high[-14]
else if
showN and
SecondsFromTime(us_20)[1] < 0
&& SecondsFromTime(us_20) >= 0
and shouldPlot
then high[-13]
else Double.NaN;
H34.SetStyle(Curve.POINTS);
H34.SetDefaultColor(Color.ORANGE);
AddCloud ( L34, H34);
#--------------------------------------
plot L35 = if
showN and
SecondsFromTime(us_22)[1] < 0
&& SecondsFromTime(us_22) >= 0
and shouldPlot
then low[-12]
else if
showN and
SecondsFromTime(us_23)[1] < 0
&& SecondsFromTime(us_23) >= 0
and shouldPlot
then low[-11]
else Double.NaN;
L35.SetStyle(Curve.POINTS);
L35.SetDefaultColor(Color.BLUE);
plot H35 = if
showN and
SecondsFromTime(us_22)[1] < 0
&& SecondsFromTime(us_22) >= 0
and shouldPlot
then high[-12]
else if
showN and
SecondsFromTime(us_23)[1] < 0
&& SecondsFromTime(us_23) >= 0
and shouldPlot
then high[-11]
else Double.NaN;
H35.SetStyle(Curve.POINTS);
H35.SetDefaultColor(Color.ORANGE);
AddCloud ( L35, H35);
#--------------------------------------
plot L36 = if
showN and
SecondsFromTime(us_25)[1] < 0
&& SecondsFromTime(us_25) >= 0
and shouldPlot
then low[-10]
else if
showN and
SecondsFromTime(us_26)[1] < 0
&& SecondsFromTime(us_26) >= 0
and shouldPlot
then low[-9]
else Double.NaN;
L36.SetStyle(Curve.POINTS);
L36.SetDefaultColor(Color.BLUE);
plot H36 = if
showN and
SecondsFromTime(us_25)[1] < 0
&& SecondsFromTime(us_25) >= 0
and shouldPlot
then high[-10]
else if
showN and
SecondsFromTime(us_26)[1] < 0
&& SecondsFromTime(us_26) >= 0
and shouldPlot
then high[-9]
else Double.NaN;
H36.SetStyle(Curve.POINTS);
H36.SetDefaultColor(Color.ORANGE);
AddCloud ( L36, H36);
#--------------------------------------
plot L37 = if
SecondsFromTime(us_28)[1] < 0
&& SecondsFromTime(us_28) >= 0
and showN
and shouldPlot
then low[-8]
else if
SecondsFromTime(us_29)[1] < 0
&& SecondsFromTime(us_29) >= 0
and showN
and shouldPlot
then low[-7]
else Double.NaN;
L37.SetStyle(Curve.POINTS);
L37.SetDefaultColor(Color.BLUE);
plot H37 = if
SecondsFromTime(us_28)[1] < 0
&& SecondsFromTime(us_28) >= 0
and showN
and shouldPlot
then high[-8]
else if
SecondsFromTime(us_29)[1] < 0
&& SecondsFromTime(us_29) >= 0
and showN
and shouldPlot
then high[-7]
else Double.NaN;
H37.SetStyle(Curve.POINTS);
H37.SetDefaultColor(Color.ORANGE);
AddCloud ( L37, H37);
#--------------------------------------
plot L38 = if
showN and
SecondsFromTime(us_31)[1] < 0
&& SecondsFromTime(us_31) >= 0
and shouldPlot#
then low[-6]
else if
showN and
SecondsFromTime(us_32)[1] < 0
&& SecondsFromTime(us_32) >= 0
and shouldPlot#
then low[-5]
else Double.NaN;
L38.SetStyle(Curve.POINTS);
L38.SetDefaultColor(Color.BLUE);
# this is 37
plot H38 = if
showN and
SecondsFromTime(us_31)[1] < 0
&& SecondsFromTime(us_31) >= 0
and shouldPlot
then high[-6]
else if
showN and
SecondsFromTime(us_32)[1] < 0
&& SecondsFromTime(us_32) >= 0
and shouldPlot
then high[-5]
else Double.NaN;
H38.SetStyle(Curve.POINTS);
H38.SetDefaultColor(Color.ORANGE);
addcloud ( L38,H38);
#--------------------------------------
# this is 38
plot L39 = if
showN and
SecondsFromTime(us_34)[1] < 0
&& SecondsFromTime(us_34) >= 0
and shouldPlot#
then low[-4]
else if
showN and
SecondsFromTime(us_35)[1] < 0
&& SecondsFromTime(us_35) >= 0
and shouldPlot#
then low[-3]
else Double.NaN;
L39.SetStyle(Curve.POINTS);
L39.SetDefaultColor(Color.BLUE);
plot H39 = if
showN and
SecondsFromTime(us_34)[1] < 0
&& SecondsFromTime(us_34) >= 0
and shouldPlot
then high[-4]
else if
showN and
SecondsFromTime(us_35)[1] < 0
&& SecondsFromTime(us_35) >= 0
and shouldPlot
then high[-3]
else Double.NaN;
H39.SetStyle(Curve.POINTS);
H39.SetDefaultColor(Color.ORANGE);
addcloud ( L39,H39);
#--------------------------------------
plot L40 = if
showN and
SecondsFromTime(us_37)[1] < 0
&& SecondsFromTime(us_37) >= 0
and shouldPlot
then low[-2]
else if
showN and
SecondsFromTime(us_38)[1] < 0
&& SecondsFromTime(us_38) >= 0
and shouldPlot
then low[-1]
else Double.NaN;
L40.SetStyle(Curve.POINTS);
L40.SetDefaultColor(Color.BLUE);
plot H40 = if
showN and
SecondsFromTime(us_37)[1] < 0
&& SecondsFromTime(us_37) >= 0
and shouldPlot
then high[-2] else if
showN and
SecondsFromTime(us_38)[1] < 0
&& SecondsFromTime(us_38) >= 0
and shouldPlot
then high[-1]
else Double.NaN;
H40.SetStyle(Curve.POINTS);
H40.SetDefaultColor(Color.ORANGE);
addcloud (L40,H40);
#--------------------------------------
plot L41 = if
showN and
SecondsFromTime(us_40)[1] < 0
&& SecondsFromTime(us_40) >= 0
and shouldPlot
then low[0]
else if
showN and
SecondsFromTime(us_41)[1] < 0
&& SecondsFromTime(us_41) >= 0
and shouldPlot
then low[1]
else Double.NaN;
L41.SetStyle(Curve.POINTS);
L41.SetDefaultColor(Color.BLUE);
plot H41 = if
showN and
SecondsFromTime(us_40)[1] < 0
&& SecondsFromTime(us_40) >= 0
and shouldPlot
then high[0] else if
showN and
SecondsFromTime(us_41)[1] < 0
&& SecondsFromTime(us_41) >= 0
and shouldPlot
then high[1]
else Double.NaN;
H41.SetStyle(Curve.POINTS);
H41.SetDefaultColor(Color.ORANGE);
addcloud ( L41,H41);
#-----------------
plot L42 = if
showN and
SecondsFromTime(us_43)[1] < 0
&& SecondsFromTime(us_43) >= 0
and shouldPlot
then low[2]
else if
showN and
SecondsFromTime(us_44)[1] < 0
&& SecondsFromTime(us_44) >= 0
and shouldPlot
then low[3]
else Double.NaN;
L42.SetStyle(Curve.POINTS);
L42.SetDefaultColor(Color.BLUE);
plot H42 = if
showN and
SecondsFromTime(us_43)[1] < 0
&& SecondsFromTime(us_43) >= 0
and shouldPlot
then high[2] else if
showN and
SecondsFromTime(us_44)[1] < 0
&& SecondsFromTime(us_44) >= 0
and shouldPlot
then high[3]
else Double.NaN;
H42.SetStyle(Curve.POINTS);
H42.SetDefaultColor(Color.ORANGE);
addcloud ( L42,H42);
#----------------------------
plot L43 = if
showN and
SecondsFromTime(us_46)[1] < 0
&& SecondsFromTime(us_46) >= 0
and shouldPlot
then low[4]
else if
showN and
SecondsFromTime(us_47)[1] < 0
&& SecondsFromTime(us_47) >= 0
and shouldPlot
then low[5]
else Double.NaN;
L43.SetStyle(Curve.POINTS);
L43.SetDefaultColor(Color.BLUE);
plot H43 = if
showN and
SecondsFromTime(us_46)[1] < 0
&& SecondsFromTime(us_46) >= 0
and shouldPlot
then high[4] else if
showN and
SecondsFromTime(us_47)[1] < 0
&& SecondsFromTime(us_47) >= 0
and shouldPlot
then high[5]
else Double.NaN;
H43.SetStyle(Curve.POINTS);
H43.SetDefaultColor(Color.ORANGE);
addcloud ( L43,H43);
#-------------------------------------------------
#----------------------------
plot L44 = if
showN and
SecondsFromTime(us_49)[1] < 0
&& SecondsFromTime(us_49) >= 0
and shouldPlot
then low[6]
else if
showN and
SecondsFromTime(us_50)[1] < 0
&& SecondsFromTime(us_50) >= 0
and shouldPlot
then low[7]
else Double.NaN;
L44.SetStyle(Curve.POINTS);
L44.SetDefaultColor(Color.BLUE);
plot H44 = if
showN and
SecondsFromTime(us_49)[1] < 0
&& SecondsFromTime(us_49) >= 0
and shouldPlot
then high[6] else if
showN and
SecondsFromTime(us_50)[1] < 0
&& SecondsFromTime(us_50) >= 0
and shouldPlot
then high[7]
else Double.NaN;
H44.SetStyle(Curve.POINTS);
H44.SetDefaultColor(Color.ORANGE);
addcloud ( L44,H44);
#--------------------
plot L45 = if
showN and
SecondsFromTime(us_52)[1] < 0
&& SecondsFromTime(us_52) >= 0
and shouldPlot
then low[8]
else if
showN and
SecondsFromTime(us_53)[1] < 0
&& SecondsFromTime(us_53) >= 0
and shouldPlot
then low[9]
else Double.NaN;
L45.SetStyle(Curve.POINTS);
L45.SetDefaultColor(Color.BLUE);
plot H45 = if
showN and
SecondsFromTime(us_52)[1] < 0
&& SecondsFromTime(us_52) >= 0
and shouldPlot
then high[8] else if
showN and
SecondsFromTime(us_53)[1] < 0
&& SecondsFromTime(us_53) >= 0
and shouldPlot
then high[9]
else Double.NaN;
H45.SetStyle(Curve.POINTS);
H45.SetDefaultColor(Color.ORANGE);
addcloud ( L45,H45);
#-----------------------
plot L46 = if showN and
SecondsFromTime(us_55)[1] < 0
&& SecondsFromTime(us_55) >= 0
and shouldPlot
then low[10]
else if
showN and SecondsFromTime(us_56)[1] < 0
&& SecondsFromTime(us_56) >= 0
and shouldPlot
then low[11]
else Double.NaN;
L46.SetStyle(Curve.POINTS);
L46.SetDefaultColor(Color.BLUE);
plot H46 = if
showN and
SecondsFromTime(us_55)[1] < 0
&& SecondsFromTime(us_55) >= 0
and shouldPlot
then high[10] else if
showN and
SecondsFromTime(us_56)[1] < 0
&& SecondsFromTime(us_56) >= 0
and shouldPlot
then high[11]
else Double.NaN;
H46.SetStyle(Curve.POINTS);
H46.SetDefaultColor(Color.ORANGE);
addcloud (L46,H46);
#---------------
plot L47 = if showN and
SecondsFromTime(us_58)[1] < 0
&& SecondsFromTime(us_58) >= 0
and shouldPlot
then low[12]
else if
showN and SecondsFromTime(us_59)[1] < 0
&& SecondsFromTime(us_59) >= 0
and shouldPlot
then low[13]
else Double.NaN;
L47.SetStyle(Curve.POINTS);
L47.SetDefaultColor(Color.BLUE);
plot H47 = if
showN and
SecondsFromTime(us_58)[1] < 0
&& SecondsFromTime(us_58) >= 0
and shouldPlot
then high[12] else if
showN and
SecondsFromTime(us_59)[1] < 0
&& SecondsFromTime(us_59) >= 0
and shouldPlot
then high[13]
else Double.NaN;
H47.SetStyle(Curve.POINTS);
H47.SetDefaultColor(Color.ORANGE);
addcloud ( L47,H47);
#---------------------------------
plot L48 = if showN and
SecondsFromTime(us_61)[1] < 0
&& SecondsFromTime(us_61) >= 0
and shouldPlot
then low[14]
else if
showN and SecondsFromTime(us_62)[1] < 0
&& SecondsFromTime(us_62) >= 0
and shouldPlot
then low[15]
else Double.NaN;
L48.SetStyle(Curve.POINTS);
L48.SetDefaultColor(Color.BLUE);
plot H48 = if
showN and
SecondsFromTime(us_61)[1] < 0
&& SecondsFromTime(us_61) >= 0
and shouldPlot
then high[14] else if
showN and
SecondsFromTime(us_62)[1] < 0
&& SecondsFromTime(us_62) >= 0
and shouldPlot
then high[15]
else Double.NaN;
H48.SetStyle(Curve.POINTS);
H48.SetDefaultColor(Color.ORANGE);
addcloud ( L48,H48);
#------------------------
plot L49 = if showN and
SecondsFromTime(us_64)[1] < 0
&& SecondsFromTime(us_64) >= 0
and shouldPlot
then low[16]
else if
showN and SecondsFromTime(us_65)[1] < 0
&& SecondsFromTime(us_65) >= 0
and shouldPlot
then low[17]
else Double.NaN;
L49.SetStyle(Curve.POINTS);
L49.SetDefaultColor(Color.BLUE);
plot H49 = if
showN and
SecondsFromTime(us_64)[1] < 0
&& SecondsFromTime(us_64) >= 0
and shouldPlot
then high[16] else if
showN and
SecondsFromTime(us_65)[1] < 0
&& SecondsFromTime(us_65) >= 0
and shouldPlot
then high[17]
else Double.NaN;
H49.SetStyle(Curve.POINTS);
H49.SetDefaultColor(Color.ORANGE);
addcloud ( L49,H49);
#----------------------------------
plot L50 = if showN and
SecondsFromTime(us_67)[1] < 0
&& SecondsFromTime(us_67) >= 0
and shouldPlot
then low[18]
else if
showN and SecondsFromTime(us_68)[1] < 0
&& SecondsFromTime(us_68) >= 0
and shouldPlot
then low[19]
else Double.NaN;
L50.SetStyle(Curve.POINTS);
L50.SetDefaultColor(Color.BLUE);
plot H50 = if
showN and
SecondsFromTime(us_67)[1] < 0
&& SecondsFromTime(us_67) >= 0
and shouldPlot
then high[18] else if
showN and
SecondsFromTime(us_68)[1] < 0
&& SecondsFromTime(us_68) >= 0
and shouldPlot
then high[19]
else Double.NaN;
H50.SetStyle(Curve.POINTS);
H50.SetDefaultColor(Color.ORANGE);
addcloud ( L50,H50);
#-------------------
plot L51 = if showN and
SecondsFromTime(us_70)[1] < 0
&& SecondsFromTime(us_70) >= 0
and shouldPlot
then low[20]
else if
showN and SecondsFromTime(us_71)[1] < 0
&& SecondsFromTime(us_71) >= 0
and shouldPlot
then low[21]
else Double.NaN;
L51.SetStyle(Curve.POINTS);
L51.SetDefaultColor(Color.BLUE);
plot H51 = if
showN and
SecondsFromTime(us_70)[1] < 0
&& SecondsFromTime(us_70) >= 0
and shouldPlot
then high[20] else if
showN and
SecondsFromTime(us_71)[1] < 0
&& SecondsFromTime(us_71) >= 0
and shouldPlot
then high[21]
else Double.NaN;
H51.SetStyle(Curve.POINTS);
H51.SetDefaultColor(Color.ORANGE);
addcloud ( L51,H51);
#--------------------------
plot L52 = if showN and
SecondsFromTime(us_73)[1] < 0
&& SecondsFromTime(us_73) >= 0
and shouldPlot
then low[22]
else if
showN and SecondsFromTime(us_74)[1] < 0
&& SecondsFromTime(us_74) >= 0
and shouldPlot
then low[23]
else Double.NaN;
L52.SetStyle(Curve.POINTS);
L52.SetDefaultColor(Color.BLUE);
plot H52 = if
showN and
SecondsFromTime(us_73)[1] < 0
&& SecondsFromTime(us_73) >= 0
and shouldPlot
then high[22] else if
showN and
SecondsFromTime(us_74)[1] < 0
&& SecondsFromTime(us_74) >= 0
and shouldPlot
then high[23]
else Double.NaN;
H52.SetStyle(Curve.POINTS);
H52.SetDefaultColor(Color.ORANGE);
addcloud ( L52,H52);
#--------------------------
plot L53 = if showN and
SecondsFromTime(us_76)[1] < 0
&& SecondsFromTime(us_76) >= 0
and shouldPlot
then low[24]
else if
showN and SecondsFromTime(us_77)[1] < 0
&& SecondsFromTime(us_77) >= 0
and shouldPlot
then low[25]
else Double.NaN;
L53.SetStyle(Curve.POINTS);
L53.SetDefaultColor(Color.BLUE);
plot H53 = if
showN and
SecondsFromTime(us_76)[1] < 0
&& SecondsFromTime(us_76) >= 0
and shouldPlot
then high[24] else if
showN and
SecondsFromTime(us_77)[1] < 0
&& SecondsFromTime(us_77) >= 0
and shouldPlot
then high[25]
else Double.NaN;
H53.SetStyle(Curve.POINTS);
H53.SetDefaultColor(Color.ORANGE);
addcloud ( L53,H53);