Top Class Tradingview Indicator कैसे बनाये CHATGPT से | Live Demo

NextLevelBot
75 followers
2 Video Views·May 31, 2024
Today, in this video, I will
show you how to create a custom indicator with Chat GPT
Help. The account I am using is a Pro account of Chat GPT
and if you want, you can try it for free also,
but I would say that you Invest $20 and
get a Pro account
so that you will get a lot of benefits from it. So,
I
am going to use Chair GPT 4o,
you can see it on the screen and I will
create a custom indicator in front of you and you can also create
your custom three-page. You can create anything you
want, you just have to give a little time,
so I am giving you a demo, you will have to
try to understand, so first of all we will
come to our Trading View account which
I have opened on the right side and here is
a If I want to add an official indicator, then to
add an official indicator, I
will click on the indicator panel and after going here,
I will type in EA, like EM A, if I
type in A, then inside technical which is the
indicator of official trading view,
inside technical we have Moving Average
Expo Shill is being found, we will copy it. If
you want, you can also copy the one below,
but I am copying this and clicking on it,
what will happen as soon as you click, it gets added to the chart. This is
visible on the chart, it has been added with one line in this manner.
Now if we want, we
can add two moving averages and put alerts, but
I want to prepare it as per my own,
so I will show it to you as per my own,
so first of all we What will we do, we
will go to this indicator, we will go to the source code, we will
click on the source code, like we
will click on the source code, the code will come, I
will copy this code, after copying, I
will go to the chat GPT and here I will say
please add second MA. Line with
alerts and I put it down
and in this way I put it down and
hit enter, now it will write the code to me
and I see its code, what is it
writing and giving it, so it has written the code to me.
Started giving as if I
told it, then he told me what I had, first there was one
line of eem, now I said this, brother, if two
moving averages are needed, then alerts are
needed in it, in crossing up and crossing down,
I said in short, you can see and
He is preparing the code for me, so
now he has prepared the code for me,
now I will copy it and then I
show it to you, then I copy it from the copy button
and after going here, I I
will click on open, I will click on new indicator, the
code will come from a scrap,
I will paste it and add it to chart,
as soon as I add to chart, it will be
completed here, an error has come here,
time has come inside the error. The frame is saying
Cannot include time frame. What
happened inside this indicator is that they have
added the time frame also.
I remove this parameter because it is
not needed. It becomes a little advanced
parameter so I
I remove the frame, these are two lines inside it, you
can see what I am removing, I
removed this and added it to the chart, again I
added it to the chart, you will see below,
after completion, this is the edit to
chart. It has been added to the chart. Now what do
I do? I turn off the first indicator
which was official. The second
one was not added and I remove it.
Now we have two indicators,
two moving average teams inside one indicator.
And if I show it in this, then
you can give your input to both the moving averages, by
default they have taken nine
and taken 21, like this you
can create any indicator, now let's go a little advance in it,
inside advance we What do you say,
as if I had asked to add alerts in this,
then they must have added alerts also.
If we see,
if I take the indicator in the condition, then
they have added one alert fencer and if they have
added two alerts then Both the alerts are
useful for me. The alert function is a little advanced.
I am not going to tell you about it today. I have
added your two alerts
in which they are crossing up and crossing
down. I have made two of your alerts. Now I
want to make two alerts. But I
want brother, they have made alerts
on custom alerts, they have
not written anywhere about long and short, so I will
take this code again, copy it and
go to Chat GPT and
after going to Chat GPT, again I will do a I will write a program
which is similar to yours, you can see that I have
written a program. Please create a plot
shape in this code. I am giving the code to it, please
add a plot shape inside it and I will
again put the code and
hit enter. Like I will hit enter, it will again
write the code to me and as I
told you, you can see above, I am using Chat GPT
4o, you will see that it is
writing the code to me, inside which
what will be the first cross over? I have
added alerts but it is not showing anywhere. To
do that,
I should get the plot shape which
looks like buy and sell or short and lock.
And they have given the code to me and I
copy it and after copying
I add it again and update it
on the chart like I will update on the chart
here an edit will come to update
your chart and I will go to this and
scroll it down, then you will see that they have given
alerts to me. If you will see the alerts,
if I move it up and show it, then
see in front of you, something is visible
like a cross up, they have given a
cross down. What happened is that they have given the cross down.
Now here due to lack of one thing, I
can do long short whatever I want,
in exchange of you I will write long, instead of short, I will
write short in exchange of down, this is
a basic thing, now here one thing. The thing is
that he has given me the indicator now, he has given
me a repaint indicator, that is,
as soon as the signal crosses it, it will give up
and as soon as the line is removed, it will give down, so
I want that brother, if my indicator is
not repainted, then repaint it now. What I do is
inside this I inside this I
can copy this thing and write this prom please
remove free paint or another way is
what I will do which is the plot shape here is the
plot shape here I inside the brackets
I these brackets I will take this and
put one inside it and this was the plot shape and I will
put one in the other one too. Now what will happen
as I will update the chart, you will see that
this plot shape has shifted to the next candle.
Now you will see where this crossover is happening. Let
me show you an example where the
cross over was happening. Yes, look here you
can see that there was a cross over on this candle.
They have done it on the next candle. This means they have
now removed my repaint also
just to see. If they have not been removed in the alerts,
then to remove them in the alerts,
I will again open the pine editor and
I had put a bracket one and
now what do we do with the bracket, what do we do with the alert, these are
our alerts, you will see the condition of
this. Now we will put this thing inside it too.
After putting this, we will update the
chart again. Now you will not
see any different thing inside the chart, but what will happen in reality is
that when this alert is created, it means it will
become up and down when my
When alerts come, we also removed the repaint. This was
a basic tutorial in which I
told you to customize the chat with GPT.
I can make this video of one hour also
in which I will show you
how to use TPSL in it and how to parallelize it. Is there
any indicator how to add, there are many
things which I will show one by one
and it will be an hour long video but the
motive behind it was that I should
show you that if you want to create a custom indicator then if you have
any in your mind. Theory is running
and you want to work on it, then
you can do it in this way. Now what is it that
now it has created alerts, I will go to Add Alerts
and click and you will see that
as soon as I select the name of the indicator,
Here two alerts have come, I
will put bar on crossing up and once, now
whenever my alert comes up, I will
trade in the same manner. If I have
put Centex inside it and have added the book,
how do they do automation trading?
I told you in the second video that I
hope you have come to know that in this way you
can create custom alerts. I created this basic
indicator because if
you want, you can get the knowledge, whatever is
going on in your mind inside it, that brother, I have something to do with it.
And to add, this is my stop loss, this is
my take profit, whatever is going on in your mind, you
can do it slowly by giving commands with the help of Chat GPT and
slowly by doing this in this way, you will
also gain knowledge of the code. If this is done then now
you can gain a lot of basic knowledge too.
Thank you for watching this video and bye.
