Job finished
Specification
i want an indicator that automatically create a rectangle(box) for certain condition of the candlestick and can edit it..works in mt4 and mt5
its a very simple coding
Condition 1
Rectangle Buy:
if candle (1) is red, and the next candle (2) (must be blue) and "close"(refer OHLC) higher or same as the "high" of candle (1)
show a rectangle
parameter of rectangle:
low of the rectangle is the "lowest" value between candle (1) or (2)
high of the rectagle is highest" of candle (1)
rectangle start from start of candle (1) to the start of the next 2 month of
the recent candle belong to
description of the rectangle for:
Monthly Time frame; MN Buy,Show on TF MN,D1
Weekly Time frame; W1 Buy,Show on TF W1,H4
Daily Time frame; D1 Buy,Show on TF D1,H1
H4 time frame; H4 Buy,Show on TF W1,H4
H1 time frame; H1 Buy,Show on TF D1,H1
M30 time frame; M30 Buy,Show on TF H4,M30
M15 time frame; M15 Buy,Show on TF H1,M15
M5 time frame; M5 Buy,Show on TF M30,M5
M1 time frame; M1 Buy,Show on TF M15,M1
colour : blue
*rectangle and the properties of the rectagle can be change by user or delete
*show only the recent 5 of the rectangle; can be change the value from 2 to 10
Condition 2
Rectangle Sell:
if candle (1) is blue, and the next candle (2) (must be red) and "close"(refer OHLC) lower or same as the "low" of candle (1)
show a rectangle
parameter of rectangle:
low of the rectangle is the "lowest" value of candle (1)
high of the rectagle is highest" value between candle (1) or (2)
rectangle start from start of candle (1) to the start of the next 2 month of
the recent candle belong to
description of the rectangle for:
Monthly Time frame; MN Sell,Show on TF MN,D1
Weekly Time frame; W1 Sell,Show on TF W1,H4
Daily Time frame; D1 Sell,Show on TF D1,H1
H4 time frame; H4 Sell,Show on TF W1,H4
H1 time frame; H1 Sell,Show on TF D1,H1
M30 time frame; M30 Sell,Show on TF H4,M30
M15 time frame; M15 Sell,Show on TF H1,M15
M5 time frame; M5 Sell,Show on TF M30,M5
M1 time frame; M1 Sell,Show on TF M15,M1
colour : red
*properties of the rectangle can be change by user(common/parameters/Visualisation)
*show only the recent 5 of the rectangle,can be change the value from 2 to 10
Condition 3
user can select which time frame the rectangle can be happen, show and work respectively (MN/W1/D1/H4/H1/M30/M15/M5/M1) at the begining of indicator and can be change directly
only show 5 recent rectangle of D1 buy if it condition happen in the box of each rectangle of MN Buy and respectively
only show 5 recent rectangle of H4 buy if it condition happen in the box of each rectangle of W1 Buy and respectively
only show 5 recent rectangle of H1 buy if it condition happen in the box of each rectangle of D1 Buy and respectively
only show 5 recent rectangle of M30 buy if it condition happen in the box of each rectangle of H4 Buy and respectively
only show 5 recent rectangle of M15 buy if it condition happen in the box of each rectangle of H1 Buy and respectively
only show 5 recent rectangle of M5 buy if it condition happen in the box of each rectangle of M30 Buy and respectively
only show 5 recent rectangle of M1 buy if it condition happen in the box of each rectangle of M15 Buy and respectively