In this post, we will see how to resolve I need to FIX THIS strategy in Pinescript please Question: Problem n.2Look at the pics! QUESTION: How can I tell this strategy to only make an orange cross the first time ...

In this post, we will see how to resolve how to group by trade and not by time Question: I need to gather in periods of 5 trades, that is to say that the open is the first row, that ...

In this post, we will see how to resolve Delay entry of orders for a SMA trend indicator – Trading View, Pine Script v5 Question: I have very simple SMA based strategy which is as follows: Now after implementing this ...

Question: I want to take a stock chart and create an indicator that will display the MEAN/average of ROC(rate of change) of daily closing prices, as a continuously updating length moving average (a running average) starting from a FIXED date. ...

Question: I am making an indicator showing swing lows and highs (3 bar pattern where a swing high has lower candle from each side and swing low has higher candle from each side) I made it but I want to ...

Question: I have a strategy in tradingview that enters every time this condition is true, but I only need to enter the second occurrence of this condition the LongCondition gets true only on the exact candle where the blue cross ...

Question: Can you please explain how to use barstate.islastconfirmedhistory ? Can anyone create a sample program where the below built-in variable is used? Answer: It is used to figure out the last historical bar when you add your script to ...

Question: Kucoin Futures API documentation for placing a limit order ( https://docs.kucoin.com/futures/#place-an-order ) has a param called “size” with type Integer. The description is given as “Order size. Must be a positive number”. A limit order to buy “CELRUSDTM” with ...

Question: I’m having issues with plotting the Coral Trend indicator colour code, into my 15min 21EMA security function. Since the Coral Trend indicator colour code has a mutable variable, I cannot resolve it. This is next level coding for me, ...

Question: I wrote a trailing stop loss script. I want the code to display the price where the stoploss was hit. But it is displaying {{Price}} as a string, and not the actual number of the bar where the stoploss ...