Plot ShortTgT = if IsLastBar then ShortEnt - AddTicks else if IsOtherPlotBar then ShortEnt - AddTicks else Double.NaN Plot LongTgT = if IsLastBar then LongEnt + AddTicks else if IsOtherPlotBar then LongEnt + AddTicks else Double.NaN Plot ShortEnt = if IsLastBar then low - EntryTicks else if IsOtherPlotBar then low - EntryTicks else Double.NaN Plot LongEnt = if IsLastBar then high + EntryTicks else if IsOtherPlotBar then high + EntryTicks else Double.NaN Plot RangeEntShort = if IsLastBar and ShowRangeEntryDot then high - GetAggregationPeriod() - EntryTicks else Double.NaN Plot RangeEntLong = if IsLastBar and ShowRangeEntryDot then low + GetAggregationPeriod() + EntryTicks else Double.NaN Input ShowRangeEntryDot = Yes #Plots a value specific to range chartsĭef EntryTicks = TicksForEntry * TickSize() ĭef IsLastBar = !IsNaN(close) and IsNaN(close) ĭef IsOtherPlotBar = !IsNaN(close) and IsNaN(close) #Plots various information to help manage trades
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |