Any rookie question, so as not to clutter up the forum. Professionals, don't pass by. Nowhere without you - 6. - page 62

 
guys tell me how to write an indicator that draws a line by one formula I can't find an example or tutorial?????
 
fr0st:
guys tell me how to write an indicator that builds a line using one formula I can't find an example or tutorial?????

What is the formula?
 
Kero:

Hello . Can you tell me please, the question is probably not that complicated for the knowledgeable, there is a trend line,

In the list of objects there is the name of the line, my question is whether you can somehow call the value of the line (in the form of price)

and if possible, whether it is possible to call the line name. Thanks for the reply

.


ObjectGetValueByShift
 

Good afternoon everyone!

I would be very grateful to anyone who can tell me how to code such an idea.


The graph TF 5

At the moment bid is 1.3150

There is a price level - 1.3000.

The price goes down.

====================================

// If the price crosses 1.3000.

// If price first crosses 1.3000.

// If the price first crosses 1.3000 and the crossing is within the 15hour candle (i.e. 15:00,15:05.....15:55)


// Open a trade.

===================================

Thank you.



 
I can't. You're welcome.
 
FAQ:
I'm not. You're welcome.

Are you talking to me?

If it's for me ....., are you serious, or do you mean something?

 
Yes. First make a fifteen hour timeframe, or at least find a reference point to it.
 
FAQ:
Right. First, make a 15 hour timeframe, or at least find a reference point to it.

I'm sorry, maybe I was being ambiguous.

A 15-hour candle is not a 15-hour candle.

It's a regular one-hour candle that opened at 3pm and closed at 4pm.

 
solnce600:

Sorry, maybe I was unclear.

A 15-hour candle is not a 15-hour candle.

It is a regular one-hour candlestick which opens at 3pm and closes at 4pm.




I see, more questions then :

// If price crosses 1.3000 for the first time , what is the first time?

So you need to control the opening time of the candlestick with this function : iTime

 
For the first time since it last touched the 1.3150 level
Reason: