/*[[ Name := TTF98alert Author := Copyright © 2004, MetaQuotes Software Corp. Link := http://www.metaquotes.net/ Lots := .1 Stop Loss := 20 Take Profit := 15 Trailing Stop := 0 ]]*/ var: b(0), lastbartime(0), cnt(0), Ilo(0); if icustom("TrendTriggerFactor",19,1,1.618,0,0,0,0,MODE_FIRST,1)<98 and icustom("TrendTriggerFactor",19,1,1.618,0,0,0,0,MODE_FIRST,0)>=98 then { Alert("TTF alert ", Symbol); //SetArrow(time, bid, 216, red); } if icustom("TrendTriggerFactor",19,1,1.618,0,0,0,0,MODE_FIRST,1)>-98 and icustom("TrendTriggerFactor",19,1,1.618,0,0,0,0,MODE_FIRST,0)<=-98 then { Alert("TTF alert ", Symbol); //SetArrow(time, bid, 216, red); }