########################################## # Bank The Trade Spot Plot Indicator # # Palmer # # http://www.bankthetrade.com # # Twitter @BankTheTrade # ########################################## input SellArea1 = 0.00; input SellArea2 = 0.00; input SellArea3 = 0.00; input BuyArea1 = 0.00; input BuyArea2 = 0.00; input BuyArea3 = 0.00; def hide = 0.00; plot B1 = if BuyArea1 > 0.00 then BuyArea1 + hide else double.NaN; B1.SetDefaultColor(Color.green); B1.SetLineWeight(1); plot B2 = if BuyArea2 > 0.00 then BuyArea2 + hide else double.NaN; B2.SetDefaultColor(Color.green); B2.SetLineWeight(1); plot B3 = if BuyArea3 > 0.00 then BuyArea3 + hide else double.NaN; B3.SetDefaultColor(Color.green); B3.SetLineWeight(1); plot S1 = if SellArea1 > 0.00 then SellArea1 + hide else double.NaN; S1.SetDefaultColor(Color.red); S1.SetLineWeight(1); plot S2 = if SellArea2 > 0.00 then SellArea2 + hide else double.NaN; S2.SetDefaultColor(Color.red); S2.SetLineWeight(1); plot S3 = if SellArea3 > 0.00 then SellArea3 + hide else double.NaN; S3.SetDefaultColor(Color.red); S3.SetLineWeight(1); ### End Code ###