newnes_1976
New member
No need explanation, it's very simple ... Sometimes the simplest is the most effective.
Shareable Link
https://tos.mx/8411Hz
Rich (BB code):
Enjoy this script
Named : “Candle Cafe”
declare lower;
def bars_uph = if high > high[13] then bars_uph[13] + 1 else 0;
def bars_downh = if high < high[13] then bars_downh[13] + 1 else 0;
def bars_upd = if low > low[13] then bars_upd[13] + 1 else 0;
def bars_downd = if low < low[13] then bars_downd[13] + 1 else 0;
plot up = bars_uph;
plot dn = bars_downh ;
AddCloud(up, dn, Color.green, Color.RED);
plot upd = bars_upd;
plot dnd = bars_downd ;
AddCloud(upd, dnd, Color.dark_green, Color.dark_RED);
AddCloud(dnd, dn, Color.white, Color.white);
AddCloud(upd, up, Color.white, Color.white);
up.setDefaultColor( COlor.GREEN );
dn.setDefaultColor( Color.RED ) ;
up.hideBubble();
dn.hideBubble();
upd.setDefaultColor( COlor.DARK_GREEN );
dnd.setDefaultColor( Color.dark_RED ) ;
upd.hideBubble();
dnd.hideBubble();
Shareable Link
https://tos.mx/8411Hz
Attachments
Last edited by a moderator: