MarxBabu

SUPER SUPERTREND THREE LINE PROFIT STRATEGY

//1.Buy when all three lines are become Red to Green or yellow and cover the position even one green become Red line next
//2.Sell when all the three line are become red and cove the position even one line become red to Green or yellow.

 
Release Notes: A minor change in the alert added.
Remove from Favorite Scripts Add to Favorite Scripts

Comments

Does this indicator repaint?
+5 Reply
any idea what stocks this is best used on?
Reply
up and down and up and down ;)
Reply
your last 2 alertconditions look like they are missing the reference to the previous candle .

there is no way that Trend1 could ever equal both 1 and -1
Reply
@B120626, Thanks for your update,
Please check and strategize it. It is nothing to do with previous candle here.
Reply
B120626 MarxBabu
@MarxBabu, sorry i don't understand it. Please explain: How would the alert condition ever be triggered? How can Trend1 variable be equal to 1 and -1 at the same time? what is the difference between plaincg the negative 1 before the positive one on the second alertcondition? It appears to me that they would both be equivalent.
Reply
@MarxBabu, I believe @B120626 is referring to lines 76 and 77 where you have the condition "alertcondition(Trend1 == 1 and Trend1 == -1 ? Trend1 : na, title='Up Entry Arrow', message='Up Entry Arrow!')". It is not possible for (Trend1==1 and Trend1== -1) to ever be true.
+4 Reply
MarxBabu JustUncleL
@JustUncleL, Let me check this
+1 Reply
Gowsigan MarxBabu
@MarxBabu, ????
Reply
pabs3991 Gowsigan
Change to:

alertcondition(Trend1 == 1 and Trend1 == -1 ? Trend1 : na, title='Up Entry Arrow', message='Up Entry Arrow!')
alertcondition(Trend1 == -1 and Trend1 == 1 ? Trend1 : na, title='Down Entry Arrow', message='Down Entry Arrow!')
Reply
Home Stock Screener Forex Screener Crypto Screener Economic Calendar How It Works Chart Features Pricing Refer a friend House Rules Help Center Website & Broker Solutions Widgets Charting Solutions Lightweight Charting Library Blog & News Twitter
Profile Profile Settings Account and Billing Refer a friend My Support Tickets Help Center Ideas Published Followers Following Private Messages Chat Sign Out