| Coding Forum Collaborate, receive help, or discuss coding related issues. |
![]() | | Tweet | |
| | #1 | ||
![]() | Coding Help 1) LineA sloping down 2) C<xAvg If either of these are true go test for all the others and if they are true give me the plot. Any ideas....thanks {************* Showme Study **************} {Continuation Sell} IF((LineA <= LineA[1])or Close < xAvg and (oSlowK[1]>OverSold and oSlowK[1]>oSlowD and oSlowK<oSlowK[1] then begin Plot6(H,"DnColor",Dncolor ); end else begin | ||
| |
|
| | #2 | ||
![]() | Re: Coding Help 1. do one thing at a time 2. write out ONE action at a time 3. write out ONE action per sentence 4. write out ONE sentence per line 5. match every BEGIN with an END Code: {************* Showme Study **************}
{Continuation Sell}
IF LineA <= LineA[1]
or Close < xAvg
then
begin
if oSlowK[1]>OverSold
and oSlowK[1]>oSlowD
and oSlowK<oSlowK[1]
then
begin
Plot6(H,"DnColor",Dncolor );
end;
end
else | ||
| |
|
| | #3 | ||
![]() | Re: Coding Help Thanks but I keep getting this highlighted at the t on the then after xAvg ------ Compiled with error(s): ------ syntax error, unexpected 'then' errLine 59, errColumn 38, errLineEnd 59, errColumnEnd 38 | ||
| |
|
| | #4 | ||
![]() | Re: Coding Help | ||
| |
|
| | #5 | ||
![]() | Re: Coding Help xAvg = XAverage (LineA, LinRegAvg) ; | ||
| |
|
| | #6 | ||
![]() | Re: Coding Help | ||
| |
|
| | #7 | ||
![]() | Re: Coding Help | ||
| |
|
| | #8 | ||
![]() | Re: Coding Help i see 3x ( and 1x ) {************* Showme Study **************} {Continuation Sell} IF((LineA <= LineA[1])or Close < xAvg and (oSlowK[1]>OverSold and oSlowK[1]>oSlowD and oSlowK<oSlowK[1] then begin Plot6(H,"DnColor",Dncolor ); end else begin | ||
| |
|
![]() |
| Thread Tools | |
| Display Modes | Help Others By Rating This Thread |
| |
| ∧ Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Coding for Sierra Charts | mishnas | Coding Forum | 22 | 06-23-2009 11:16 PM |
| TICK Coding Help | Soultrader | Coding Forum | 19 | 04-06-2009 02:28 AM |
| CQG - Coding | Papa Lazarou | Coding Forum | 4 | 01-12-2009 08:13 PM |
| Coding Help | waveslider | Coding Forum | 1 | 08-03-2007 04:48 PM |
| [VSA] Coding | TinGull | Coding Forum | 2 | 03-18-2007 01:05 PM |