|
|

SetChartOptions(0,chartShowArrows|chartShowDates);
_N(Title = StrFormat("{{NAME}} - {{INTERVAL}} {{DATE}} Open %g, Hi %g, Lo %g, Close %g (%.1f%%) {{VALUES}}", O, H, L, C, SelectedValue( ROC( C, 1 ) ) ));
Plot( C, "Close", ParamColor("Color", colorDefault ), styleNoTitle | ParamStyle("Style") | GetPriceStyle() ); Buy=V>Ref(V,-1)AND V>Ref(V,-2)AND V>Ref(V,-3)AND V>Ref(V,-4)AND V>Ref(V,-5)AND V>Ref(V,-6)AND V>Ref(V,-7)AND V>Ref(V,-8)AND V>Ref(V,-9)AND V>Ref(V,-10)AND V>Ref(V,-11)AND V>Ref(V,-12)AND V>Ref(V,-13)AND V>Ref(V,-14)AND V>Ref(V,-15)AND V>Ref(V,-16)AND V>Ref(V,-17)AND V>Ref(V,-18)AND V>Ref(V,-19)AND V>Ref(V,-20)AND V>Ref(V,-20)AND V>Ref(V,-21)AND V>Ref(V,-22)AND V>Ref(V,-23)AND V>Ref(V,-24)AND V>Ref(V,-25)AND V>Ref(V,-26)AND V>Ref(V,-27)AND V>Ref(V,-28)AND V>Ref(V,-29)AND V>Ref(V,-30)AND V>Ref(V,-31)AND V>Ref(V,-32)AND V>Ref(V,-33)AND V>Ref(V,-34)AND V>Ref(V,-35)AND V>Ref(V,-36)AND V>Ref(V,-37)AND V>Ref(V,-38)AND V>Ref(V,-39)AND V>Ref(V,-40)AND Close > ((High- Low)/2)+ Low;
PlotShapes(IIf(Buy,shapeSmallUpTriangle,shapeNone),colorCustom12,0,L,-10);
_SECTION_BEGIN("Exploration");Filter=Close;
Var = WriteIf(Buy,"BUY",WriteIf(Null,"",""));
AddTextColumn(Var , "Buy/Sell", 1.2 , colorWhite, IIf( Buy, colorBlue,IIf(Null,colorRed,colorWhite) ));
_SECTION_END();
setchartoptions(0,chartshowarrows|chartshowdates);
_n(title = strformat("{{name}} - {{interval}} {{date}} open %g, hi %g, lo %g, close %g (%.1f%%) {{values}}", o, h, l, c, selectedvalue( roc( c, 1 ) ) ));
plot( c, "close", paramcolor("color", colordefault ), stylenotitle | paramstyle("style") | getpricestyle() ); buy=v>ref(v,-1)and v>ref(v,-2)and v>ref(v,-3)and v>ref(v,-4)and v>ref(v,-5)and v>ref(v,-6)and v>ref(v,-7)and v>ref(v,-8)and v>ref(v,-9)and v>ref(v,-10)and v>ref(v,-11)and v>ref(v,-12)and v>ref(v,-13)and v>ref(v,-14)and v>ref(v,-15)and v>ref(v,-16)and v>ref(v,-17)and v>ref(v,-18)and v>ref(v,-19)and v>ref(v,-20)and v>ref(v,-20)and v>ref(v,-21)and v>ref(v,-22)and v>ref(v,-23)and v>ref(v,-24)and v>ref(v,-25)and v>ref(v,-26)and v>ref(v,-27)and v>ref(v,-28)and v>ref(v,-29)and v>ref(v,-30)and v>ref(v,-31)and v>ref(v,-32)and v>ref(v,-33)and v>ref(v,-34)and v>ref(v,-35)and v>ref(v,-36)and v>ref(v,-37)and v>ref(v,-38)and v>ref(v,-39)and v>ref(v,-40)and close > ((high- low)/2)+ low;
plotshapes(iif(buy,shapesmalluptriangle,shapenone),colorcustom12,0,l,-10);
_section_begin("exploration");filter=close;
var = writeif(buy,"buy",writeif(null,"",""));
addtextcolumn(var , "buy/sell", 1.2 , colorwhite, iif( buy, colorblue,iif(null,colorred,colorwhite) ));
_section_end();

| تعليمات المشاركة |
لا تستطيع إضافة مواضيع جديدة
لا تستطيع الرد على المواضيع
لا تستطيع إرفاق ملفات
لا تستطيع تعديل مشاركاتك
BB code is متاحة
الابتسامات متاحة
كود [IMG] متاحة
كود HTML معطلة
|